RuntimeErro

来源:5-5 xadmin全局配置

了不起的水獭

2018-06-17

修改app名字的时候出现的问题:

RuntimeError: Model class courses.models.Course doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

django==1.11

python==3.6

写回答

1回答

了不起的水獭

提问者

2018-06-17

运行default_app_config="courses.apps.CoursesConfig" 出现问题的

0
1
bobby
你截图我看看你的左侧代码目录结构 以及你的installed_apps设置和你的apps代码
2018-06-21
共1条回复

Python3.6+django+xadmin,打造在线教育平台

【毕设】Python 2.7到3.6 完美适配,Django升级2.0

3677 学习 · 4041 问题

查看课程