问答详情
源自:3-5 初识 Django Admin模块

我的頁面建好后是這樣,什麽原因?

Page not found (404)

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

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

  1. admin/

  2. blog/ hello_world

The current path, blog/, 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


提问者:武哥知事 2022-01-11 18:18

个回答

  • 慕梦前来
    2022-04-21 19:04:02

    路径不对,只有这个原因