亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

老師,這個錯誤怎么改

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:

  1. 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.


正在回答

3 回答

在最后的url 輸入的時候, 輸入127.0.0.1:8000/blog/hello_word, 能出現helloword,? 但是前面的是顯示404


0 回復 有任何疑惑可以回復我~
#1

woodskin

我也是這樣的 麻煩問一下,解決了嗎
2019-12-22 回復 有任何疑惑可以回復我~

樓主這個問題解決了嗎

0 回復 有任何疑惑可以回復我~

這個問題是你的路由配置出現問題了,你需要檢查一下這個路由配置了

這是我自己配置的路由,你可以參照看一下,對照一下你的配置有沒有什么問題!

https://img1.sycdn.imooc.com//5cb06a590001433609720272.jpg

0 回復 有任何疑惑可以回復我~
#1

慕娘8346500

你好,我的也是這個問題 Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/login 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-07 回復 有任何疑惑可以回復我~
#2

呼吸之野 回復 慕娘8346500

路由配置代碼貼出來
2019-10-21 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

老師,這個錯誤怎么改

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號