On 01-09-11 15:04, Yves S. Garret wrote:
Using the URLconf defined in |mysite.urls|, Django tried these URL
patterns, in this order:
1. ^polls/ ^polls/$
2. ^polls/ ^polls/(?P<poll_id>\d+)/$
3. ^polls/ ^polls/(?P<poll_id>\d+)/results/$
4. ^polls/ ^polls/(?P<poll_id>\d+)/vote/$
5. ^polls/ ^admin/
6. ^admin/
The current URL, |polls/1/|, didn't match any of these.
Such a "^polls/ ^polls/$" regex is incorrect. What's the extra
"^polls/ " doing in front of the actual regex? That's the cause of your
error, I think.
Reinout
--
Reinout van Rees http://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
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.