url pattern matching
Hi Everyone,
I'm very new to Django and just trying to explore the basics. I'm having a problem with the url pattern matching. If i go to site:
http://mysite:8000/paperforms/
I get the following error:
Using the URLconf defined in mysite.urls
, Django tried these URL patterns, in this order:
- ^admin/
- ^paperforms/ ^paperforms/$
- ^paperforms/ ^paperforms/(?P<checkrequest_id>\d+)/$
- ^paperforms/ ^paperforms/(?P<checkrequest_id>\d+)/results/$
- ^paperforms/ ^paperforms/(?P<checkrequest_id>\d+)/vote/$
- ^paperforms/ ^admin/
The current URL, paperforms/
, didn't match any of these.
Shouldn't it find a match on line # 2.
thanks for your help.
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/J4trVX-oH0AJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home