Well, like I said, I haven't tested that particular regex.  But it
should be possible to write a regex that does work.

If Django's dispatcher chokes on subpatterns, then just use the ^(.+)$
approach and split it yourself in the view, then iterate.  Either way,
you shouldn't have to call multiple functions directly from the
URLconf.

On Oct 21, 2:38 pm, Phlip <phlip2...@gmail.com> wrote:
> > url('^((\w+)/(\d+)/)+$', 'myview', ...)
>
> Actually, no, that's only giving the last two matches:
>
> (u'areas/2/', u'areas', u'2')

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to