Django Auth Model Issue - AUTH_USER_MODEL Not Installed
Posted
by
Ian Warner
on Stack Overflow
See other posts from Stack Overflow
or by Ian Warner
Published on 2013-10-21T15:46:55Z
Indexed on
2013/10/21
15:53 UTC
Read the original article
Hit count: 528
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'?
© Stack Overflow or respective owner