0👍
Please help to make sure you import your module in the setting file
# Django apps go here.
DJANGO_APPS = [
# Default Django apps:
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# Admin
'django.contrib.admin',
# Local apps
'accounts',
]
And make sure you run makemigrations to generate migrations file first, then run migrate database
python manage.py makemigrations
- [Answered ]-Using django model data in a bootstrap template
- [Answered ]-ImportError: cannot import name memoize
- [Answered ]-I cannot post comment in Django, no error
- [Answered ]-Jquery datepicker not display on my django project
- [Answered ]-How to verify if django settings are applied correctly?
Source:stackexchange.com