请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

The current URL, login/login.html, didn't match any of these.

在测试登录时,遇到了如下错误,报的错误,还有各个文件的截图都在下面。

尝试过检查,但是错误说找不到/login/login.html,我找了半天也没有找到为什么登录时,浏览器会要求这个文件

https://img1.sycdn.imooc.com//szimg/5b7e2c210001c95211390537.jpg

https://img1.sycdn.imooc.com//szimg/5b7e2c210001ee0116990687.jpg

https://img1.sycdn.imooc.com//szimg/5b7e2c220001369713250197.jpg

https://img1.sycdn.imooc.com//szimg/5b7e2c21000115e722230963.jpg

https://img1.sycdn.imooc.com//szimg/5b7e2c23000103d615310569.jpg


正在回答 回答被采纳积分+3

1回答

bobby 2018-08-24 18:32:54

https://img1.sycdn.imooc.com//szimg/5b7fdecc00011b6e10000444.jpg 这里不是这样写的, 你看一下课程中这个地方是如何配置的

0 回复 有任何疑惑可以回复我~
  • 老师,我把这个地方改成‘/login/’,以及前面的‘login.html‘也改了,还是说:
    Using the URLconf defined in MxOnline.urls, Django tried these URL patterns, in this order:
    
    ^xadmin/
    ^$ [name='index']
    ^login/$ [name='login']
    The current URL, login/login.html, didn't match any of these.
    请问是哪里错误呢
    回复 有任何疑惑可以回复我~ 2018-09-20 12:05:07
  • bobby 回复 薄荷猫s #2
    你通过qq群找到我 给我发个qq消息我看看 https://git.imooc.com/coding-78/coding-78 也可以下载课程的源码试试
    回复 有任何疑惑可以回复我~ 2018-09-20 16:31:05
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

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

帮助反馈 APP下载

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

公众号

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