Re: url.py

2007-12-18 Thread mike
Marty...you de man!! On Dec 18, 1:20 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > It looks like you've configured the built-in admin at "/admin/", and > you're defining your custom URLs *later* in the list of URL patterns. > This means that the admin's URL configuration will see > "/ad

Re: url.py

2007-12-18 Thread Marty Alchin
It looks like you've configured the built-in admin at "/admin/", and you're defining your custom URLs *later* in the list of URL patterns. This means that the admin's URL configuration will see "/admin/display/12/" and assume it's supposed to route to its view for an app named "display" and a mode

Re: url.py parsing and mod_python, recurent problem.

2006-02-22 Thread Kenneth Gonsalves
On Wednesday 22 Feb 2006 1:33 pm, coulix wrote: >  # Uncomment this for admin: > (r'^admin/', include('django.contrib.admin.urls.admin')), (r'^mywebsite/admin/', include('django.contrib.admin.urls.admin')), -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್

Re: url.py parsing and mod_python, recurent problem.

2006-02-22 Thread [EMAIL PROTECTED]
here are the docs: http://www.djangoproject.com/documentation/url_dispatch/ now, django always parsers urls from the root. if thats not the case, the easiest thing you could do is just match all r'^mywebsite/ to like, myproject.suburls and then create the sub matches. unfortunatly thats the way