没有添加子应用在settings里面!

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

 

相关文章: