What would you expect the server to display for that URL? — Daniel
> Am 25.05.2018 um 19:18 schrieb Avitab Ayan Sarmah <[email protected]>: > > In my windoes powershell: > > PS C:\Users\AVITABAYAN\mysite> python manage.py runserver > Performing system checks... > > System check identified no issues (0 silenced). > May 25, 2018 - 22:42:50 > Django version 2.0.1, using settings 'mysite.settings' > Starting development server at http://127.0.0.1:8000/ > Quit the server with CTRL-BREAK. > Not Found: / > [25/May/2018 22:43:01] "GET / HTTP/1.1" 404 2027 > Not Found: /favicon.ico > [25/May/2018 22:43:02] "GET /favicon.ico HTTP/1.1" 404 2078 > Not Found: / > [25/May/2018 22:43:15] "GET / HTTP/1.1" 404 2027 > [25/May/2018 22:44:15] "GET /polls/ HTTP/1.1" 200 166 > [25/May/2018 22:44:15] "GET /static/polls/style.css HTTP/1.1" 304 0 > [25/May/2018 22:44:15] "GET /static/polls/images/background.gif HTTP/1.1" 304 > 0 > [25/May/2018 22:44:18] "GET /polls/1/ HTTP/1.1" 200 461 > Not Found: / > [25/May/2018 22:44:27] "GET / HTTP/1.1" 404 2027 > Not Found: / > [25/May/2018 22:45:01] "GET / HTTP/1.1" 404 2027 > > In my server: > > Page not found (404) > Request Method: GET > Request URL: http://127.0.0.1:8000/ > Using the URLconf defined in mysite.urls, Django tried these URL patterns, in > this order: > > polls/ > admin/ > The empty path 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/85ba21bf-3c98-4bbe-877f-716eff7b73d2%40googlegroups.com. > 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/59C29748-4CD8-49AB-8A35-04E4B50FB268%40gmail.com. For more options, visit https://groups.google.com/d/optout.

