Monday, October 30, 2017

Re: Django 11 ImproperlyConfigured: AUTH_USER_MODEL refers to model 'authex.UserProfile' that has not been installed

Ok, i finally found where the problem was : the admin class (UserAdmin) of my custom user class was in models.py and must be in admin.py.

I found the solution here : https://stackoverflow.com/questions/45783147/django-lookuperror-app-accounts-doesnt-have-a-user-model

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/d8576cab-0218-4c7a-9935-a2d17b842b83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment