On Feb 27, 2016 11:49 AM, "Mike Kipling" <[email protected]> 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:
>
> ^admin/
>
> The current URL, polls/, didn't match any of these.
>

It doesn't appear that you've included your apps urls.py correctly using an
include() in your project urls.py.

Can you post both of your urls.py files?

-James

-- 
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/CA%2Be%2BciWixxatHfJ2736W9S8k8jCsgaF1DSu3j1AcTdDRZtbEMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to