为了账号安全,请及时绑定邮箱和手机立即绑定

页面报错了

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:

^admin/

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.


正在回答

3 回答

楼主解决了吗

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

urls.py里面没写

url(r'^index/', bv.index),

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

代码贴出来看看,或者把`^admin/`这行代码删除掉,如果不报错,就是路径配置错误了

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

举报

0/150
提交
取消
django入门与实践
  • 参与学习       65199    人
  • 解答问题       868    个

手把手带你进入Django开发的大门,充分领略Django的魅力

进入课程

页面报错了

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信