dm_nan 2023-06-09 21:43 采纳率: 33.3%
浏览 24

为什么django激活管理界面,运行服务器后,无法访问(语言-python)

为什么django激活管理界面,运行服务器后,无法访问
出现情况
Page not found (404)
Request Method: GET
Request URL: http://127.0.0.1:8000/
Using the URLconf defined in HelloWorld.urls, Django tried these URL patterns, in this order:
admin/
check/
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.
运行结果报错内容:

img

  • 写回答

2条回答 默认 最新

  • P2441M 2023-06-09 23:10
    关注

    访问 http://127.0.0.1:8000/admin ,这是默认的管理链接

    评论

报告相同问题?

问题事件

  • 创建了问题 6月9日