runserver unsuccessfully without any exception or traceback

20 views
Skip to first unread message

lilyfan195

unread,
Mar 15, 2021, 1:08:37 PM3/15/21
to Django users

Asking for help plz.
I used the command "python manage.py runserver" in powershell and it's running well like this:
however when I enter the http://127.0.0.1:8000 it showed page not found, and the thing is whatever I clicked, the powershell remained the same and didn't show any Exception traceback or something like that and the pycharm didn't show any errors either.

Ryan Nowakowski

unread,
Mar 17, 2021, 10:01:14 PM3/17/21
to django...@googlegroups.com


On March 15, 2021 7:26:11 AM CDT, lilyfan195 <lilyf...@gmail.com> wrote:
>
>however when I enter the http://127.0.0.1:8000 it showed page not
>found, and the thing is whatever I clicked, the powershell remained the
>same and didn't show any Exception traceback or something like that and
>the pycharm didn't show any errors either.

I'm assuming you're seeing the Django 404 page right? If this is not a brand new project and you've modified urls.py, check to make sure that you have a url pattern configured that matches the root of your site. Otherwise Django is doing exactly what it's supposed to do which is returning page not found.

Reply all
Reply to author
Forward
0 new messages