On Tue, 2009-03-17 at 18:03 -0700, PaulE wrote: > Malcolm, > > Thanks for the quick reply. > Problem solved - after reading your reply. > I changed > (r'^cms/(.*)', include('cms.urls')), > to > (r'^cms/', include('cms.urls')), > and it works fine. > > I still don't quite understand because this *admin* url works fine > http://localhost:8000/admin/ > when I have this pattern > (r'^admin/(.*)', admin.site.root), > Isn't the regex saying take all characters except a newline? > I doubt there is anything special about admin urls.
Your assumption is incorrect. The admin.site.root processing does something quite different to just comparing against a set of urlpatterns. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---