Django Auth Model Issue - AUTH_USER_MODEL Not Installed
- by Ian Warner
Trying to debug this error with getting a Django project running
ImproperlyConfigured: AUTH_USER_MODEL refers to model 'accounts.User' that has not been installed
Running
python manage.py migrate
Must iterate i am in no way a python or django expert - I have simply inherited someone elses project that I am trying to get running for the team here.
I have followed steps to
install postgres
required modules including south
creating database for postgres
Any help appreciated on how to debug this.
settings/base.py contains
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
LOCAL_APPS = (
'apps.core',
'apps.accounts',
'apps.project_tool',
'apps.internal',
'apps.external',
)
so apps.accounts exits - but it asks for AUTH_USER_MODEL = 'accounts.User' - should it be
AUTH_USER_MODEL = 'apps.accounts.User'?