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 中

猜你喜欢

转载自www.cnblogs.com/xiaodebing/p/9151493.html