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.
Oh wait - I think I see - the whole regex strips away what matches?
So if my URL is
http://localhost:8000/cms/first-story/
This regex r'^cms/(.*)' strips away "cms/first-story/"
and there is nothing left - thereftroe we see
arguments '()' and keyword arguments '{}' not found.
Do I have that at least a bit right?
Many thanks.
PaulE
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---