RuntimeError: Model class apps.settings.licensefile.LicenseFile doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
RuntimeError: Model class apps.settings.licensefile.LicenseFile doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
这个实在settings.py中的INSTALLED_APPS 添加app包的名称:apps
INSTALLED_APPS = [ 'apps','django_filters', 'bootstrap3', 'captcha', 'django_celery_beat', 'django.contrib.auth', 'django.contrib.admin', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ]
添加进去应该就可以了。
我不是来改变世界的