Closed weissglut-dev closed 8 years ago
When the Usermodel is customized you should not refer to User directly but user get_user_model() see also: https://docs.djangoproject.com/en/1.9/topics/auth/customizing/#referencing-the-user-model
User
get_user_model()
So I replaced all references to User with get_user_model()and got it working.
Regards Ludwig
When the Usermodel is customized you should not refer to
User
directly but userget_user_model()
see also: https://docs.djangoproject.com/en/1.9/topics/auth/customizing/#referencing-the-user-modelSo I replaced all references to
User
withget_user_model()
and got it working.Regards Ludwig