i am getting the following error when trying to run the django 2 app
few lines from stacktrace
File "/Users/shobi/Projects/emailtool/emailtool/frontend/models/AwsSettings.py", line 4, in
from emailtool.frontend.models.AwsRegions import AwsRegions File "/Users/shobi/Projects/emailtool/emailtool/frontend/models/AwsRegions.py", line 4, in
class AwsRegions(models.Model): File "/Users/shobi/Projects/emailtool/env/lib/python3.6/site-packages/django/db/models/base.py",
line 108, in new
"INSTALLED_APPS." % (module, name) RuntimeError: Model class emailtool.frontend.models.AwsRegions.AwsRegions doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
I tried
and many google results as well, what is missing?
Django2, Python 3.6
Edit:
INSTALLED_APPS = [
'frontend',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]