Show the urls.py after adding everything. Note that there must be two urls.py. One in the project folder, another in the app folder
On Fri 21 Sep, 2018, 12:18 AM Asong nkemzi, <[email protected]> wrote: > Hello, Ruth did you ever solve this problem? I am experiencing exactly the > same issue > > On Thursday, March 17, 2016 at 4:07:11 PM UTC-4, Ruth wrote: >> >> I am getting the very same problem, despite adding include to my >> mysite\urls.py file. >> I am using Python 2.7.6, Django 1.9.4 and Ubuntu 14.04.3 LTS >> Could it be a python 2.7 problem? >> Thanks, >> Ruth >> >> On Saturday, February 27, 2016 at 11:50:39 AM UTC-8, Mike Kipling wrote: >>> >>> I am working through the Django tutorial *Writing your first Django >>> app, part 1.* >>> I am using Windows 10, python 3.5.1 and Django 1.9.2 . >>> >>> In the *Write your first view* section: >>> after writing the polls/views.py and polls/urls.py files, >>> and modifying the manage/urls.py file, >>> and starting the server, >>> >>> When I go to http://localhost:8000/polls/ in the browser I get the >>> following error: >>> >>> 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. ^admin/ >>> >>> The current URL, polls/, didn't match any of these. >>> >> -- > 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/778da3c3-92a0-4560-b2e2-7b7d5539ad85%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/778da3c3-92a0-4560-b2e2-7b7d5539ad85%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/CAA%3Diw_8tX_Vr5%3DN95%3DKSGUr6uyzxMB5Dta-FjnqSjg%3DywkO8QA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

