Request Method: GET
Request URL: http://127.0.0.1:8000/
Using the URLconf defined in djangoProject.urls, Django tried these URL patterns, in this order:
^admin/
index
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.
刚学django,写完直接按链接,结果出现错误,原来是路径没对,要运行的文件名没写上去,点击链接后直接在后面加上运行的文件名即可
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)