I’m stuck. I’m following the Poll tutorial but I get stuck at the start. I can’t see the Polls view. I can follow the tutorial up the polls view. (Python 3.8.2 Django 3.0.6 Windows 10 Home 64 bit
I have to run server on port 8010 and when I run the browser to see the polls I get
Quit the server with CTRL-BREAK.
Not Found: /polls
[17/May/2020 00:10:33] “GET /polls HTTP/1.1” 404 1954
or (/polls/ vs /polls)
Not Found: /polls/
[17/May/2020 00:28:35] “GET /polls/ HTTP/1.1” 404 1957
browser (Firefox 76.0.1 64bit)
Page not found (404)
Using the URLconf defined in
mysite.urls , Django tried these URL patterns, in this order:
The current path,
polls/ , didn’t match any of these.
I can’t find the problem and this is the second time I try the tutorial. The first time I got stuck I went to Mozilla to run the tutorial (Django Version 2,1) and I went farther until I got stuck, so I’m coming back to this tutorial.
I have to run on port 8010 because 8005 is still used by the Mozilla tutorial and port 8000 is run by a local file ( I ran Python -m http.server to test it so I can’t use it anymore)
So, how do I free the 8000 port to run new apps? Is this causing my problems?
Any Ideas what should I check?