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

2017-10-30 Thread cjacquemet
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 messa

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

2017-10-30 Thread cjacquemet
An additional information : the settings.py was generated with Django 1.9.7 Le lundi 30 octobre 2017 08:35:44 UTC+1, cjacq...@gmail.com a écrit : > > > Yes, there is my INSTALLED_APPS (it was ok with Django 1.10) : > > INSTALLED_APPS = [ > #django > 'django.contrib.admin', > 'django.co

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

2017-10-30 Thread cjacquemet
Yes, there is my INSTALLED_APPS (it was ok with Django 1.10) : INSTALLED_APPS = [ #django 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contr

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

2017-10-29 Thread James Schneider
> > File "/Library/Python/2.7/site-packages/django/contrib/auth/forms.py", > line 22, in > UserModel = get_user_model() > File "/Library/Python/2.7/site-packages/django/contrib/auth/__init__.py", > line 198, in get_user_model > "AUTH_USER_MODEL refers to model '%s' that has not been in

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

2017-10-29 Thread cjacquemet
Hi everyone, I'm trying to update Django from 1.10.8 to 1.11.6 but it raise me an error. I just update Django with pip. I use Python 2.7.11 and Mac OS X and everything was working on Django 1.10.8. Traceback (most recent call last): File "/Library/Python/2.7/site-packages/django/utils/autore