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

遇到这样的问题怎么回事啊。Django版本1.7

Page not found (404)

Request Method:GET
Request URL:http://127.0.0.1:8000/demoapp/article/

Using the URLconf defined in demoproject.urls, Django tried these URL patterns, in this order:

  1. ^admin/

  2. ^demoapp/ ^index/$

  3. ^demoapp/ ^article/(?P<article_id>[0-9]+)$

  4. ^demoapp2/

The current URL, demoapp/article/, didn't match any of these.


正在回答

1 回答

在浏览器访问127.0.0.1:8000/demoapp/article/后面再添加个数字/。试一试。

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

举报

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

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

进入课程

遇到这样的问题怎么回事啊。Django版本1.7

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号