我的頁面建好后是這樣,什麼原因?
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:
admin/
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-04-21
路徑不對,只有這個原因