老師,這個(gè)錯(cuò)誤怎么改
Page not found?(404)
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8000/blog/hello_world/ |
Using the URLconf defined in?pro.urls
, Django tried these URL patterns, in this order:
admin/
The current path,?blog/hello_world/
, 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.
2019-09-10
在最后的url 輸入的時(shí)候, 輸入127.0.0.1:8000/blog/hello_word, 能出現(xiàn)helloword,? 但是前面的是顯示404
2019-09-07
樓主這個(gè)問(wèn)題解決了嗎
2019-04-12
這個(gè)問(wèn)題是你的路由配置出現(xiàn)問(wèn)題了,你需要檢查一下這個(gè)路由配置了
這是我自己配置的路由,你可以參照看一下,對(duì)照一下你的配置有沒(méi)有什么問(wèn)題!