Continued from urls problem.
Regex groups, named groups:
http://www.mail-archive.com/django-users@googlegroups.com/msg54489.html
Yes there is. You can use regex groups: (r'^admin/(.*)', site1.root), The string that matches .* will be passed as an extra arg. Or named groups: (r'^admin/(?P<url>.*)', site1.root), Additionaly, you can pass extra args: http://www.djangoproject.com/documentation/url_dispatch/#passing-extra-options-to-view-functions Juanjo
Advertisement