What does your urls.py look like? According to the error it doesn’t appear that polls/ is defined in your urls.py file
On Fri, May 18, 2018 at 10:05 AM Avitab Ayan Sarmah <[email protected]> wrote: > Page not found (404) > Request Method: GET > Request URL: http://localhost:8000/polls/ > > Using the URLconf defined in mysite.urls, Django tried these URL > patterns, in this order: > > 1. [name='index'] > 2. <int:pk>/ [name='detail'] > 3. <int:pk>/results/ [name='results'] > 4. <int:question_id>/vote/ [name='vote'] > 5. admin/ > > The current path, polls/, 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. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/54b07f4e-663c-4ed0-a419-541d735148a1%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/54b07f4e-663c-4ed0-a419-541d735148a1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE-E-_2Gms%3DtqeXpJ_FFJ1p6_i1ECAf15yGmw1PCJz%3DN4yZQYQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

