Hi Alex,
Is there anyway on the command line I can determine what models,
the app actually sees in the module in question?
Otherwise can you recommend a debugger that might help.
Thanks
On 12/12/2016 9:07 PM, Alex Heyden wrote:
The first place to look would be the INSTALLED_APPS setting in your
settings file, but honestly that's one of those errors that could
ultimately mean a lot of things. I've had it thrown on things ranging
from circular imports to admin configuration issues to bad migrations.
It might be time to spin up a debugger.
On Mon, Dec 12, 2016 at 1:52 PM, NoviceSortOf <[email protected]
<mailto:[email protected]>> wrote:
Thanks Alex,
Following the links you posted I've moved forward towards adding a
custom user and getting rid of get_profile().
This process though has introduced other issues.
The error occurs both when running manage syncdb and when
debugging view that calls user.
"AUTH_USER_MODEL refers to model 'books.user' that has not been
installed"
My settings file clearly contains AUTH_USER_MODEL = 'books.user'
And class user is defined per instructions online regarding
migrating to a custom user
inside of books.models.py <http://books.models.py>.
It appears to me that user as defined in books.models.py
<http://books.models.py> is installed on the code level and am
wondering where else the error message might be referencing that
tells me it is not 'installed'.
Any suggested appreciated.
Thanks
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/django-users
<https://groups.google.com/group/django-users>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/afc26acd-3d2c-47ce-b696-4be15fb61357%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/afc26acd-3d2c-47ce-b696-4be15fb61357%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to a topic in the
Google Groups "Django users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/django-users/oPW7Vy2YNqY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CA%2Bv0ZYVw-bUTLFJ65%2B7bgGLjeMz7RUtQ6g9sAj3MO73znwPP-A%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CA%2Bv0ZYVw-bUTLFJ65%2B7bgGLjeMz7RUtQ6g9sAj3MO73znwPP-A%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/76a2c335-ff30-ea62-116d-9680f48225b6%40well.com.
For more options, visit https://groups.google.com/d/optout.