Page not found (404)
Request Method: | GET |
---|---|
Request URL: | http://localhost:8000/polls/1/ |
Using the URLconf defined in mysite.urls
, Django tried these URL patterns, in this order:
- ^polls/ ^polls/$
- ^polls/ ^polls/(?P<poll_id>\d+)/$
- ^polls/ ^polls/(?P<poll_id>\d+)/results/$
- ^polls/ ^polls/(?P<poll_id>\d+)/vote/$
- ^polls/ ^admin/
- ^admin/
The current URL, polls/1/
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in your Django settings file. Change that to False
, and Django will display a standard 404 page.
Is this the issue of having something match before another url?
I'll try to get my stuff zipped up and host it somewhere if that's not enough information.
On Thu, Sep 1, 2011 at 2:24 AM, kenneth gonsalves <lawgon@thenilgiris.com> wrote:
On Wed, 2011-08-31 at 12:05 -0700, Yves S. Garret wrote:should it not be views?
> Caught ViewDoesNotExist while rendering: Could not import polls.view.
> Error was: No module named view
--
regards
Kenneth Gonsalves
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment