为什么我的显示URL不匹配啊
Page not found (404)
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8000/index/ |
Using the URLconf defined in myblog.urls
, Django tried these URL patterns, in this order:
^blog/
The current URL, index/
, 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.