django 执行 python manage.py makemigrations 报错

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


 将app加入settings的INSTALLED_APPS 中

posted @ 2018-06-07 16:40  xiaodebing  阅读(2136)  评论(0编辑  收藏  举报