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

AttributeError: 'module' object has no attribute 'include'

要如何解决?怎么导入include这个包?  有详细的操作吗?

正在回答

1 回答

3.x版本的是 from django.urls import include
0 回复 有任何疑惑可以回复我~
#1

DPS2801 提问者

没有 我用的2.7版本的 pycharm里给的提示是This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.
2018-12-28 回复 有任何疑惑可以回复我~

举报

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

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

进入课程

AttributeError: 'module' object has no attribute 'include'

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

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

帮助反馈 APP下载

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

公众号

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