问答详情
源自:2-2 初始Django项目

换浏览器也不行

Page not found (404)

Request Method:GET
Request URL:http://127.0.0.1:8000/

Using the URLconf defined in django_introduction.urls,      Django tried these URL patterns, in this order:

  1. admin/

  2. blog/

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.


提问者:红尘过客zuozs 2019-10-25 14:00

个回答

  • 谷杨
    2019-10-25 23:15:47
    已采纳

    你需要继续输入 admin/  或者 blog/   比如:

    你需要继续输入为:

    http://127.0.0.1:8000/admin/ 

    http://127.0.0.1:8000/blog/