hmm...seems obvious now that you mention it =).  Thanks for the help
guys.


On Jul 7, 9:25 pm, Juanjo Conti <[EMAIL PROTECTED]> wrote:
> furby escribió:
> [...]
>
> > admin.site.root() takes3arguments: self, request, url.  There is no
> > way to specifyargumentsin urls.py, so I have no idea how to fix
> > this.  Any help would be appreciated.  Thanks.
>
> 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-extr...
>
> Juanjo
> --
> mi blog:http://www.juanjoconti.com.ar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to