Hi,
I am using custom user model and keep getting the following error:
Django Version: 1.8.2
Exception Type: ValueError
Exception Value:
Cannot assign "'38ce3451a9d68210ad038b09fb29b0df7b58e46a'": "UserSocialAuth.user" must be a "MyUser" instance.
Exception Location: C:\Users\Ohm\Desktop\app_virt\lib\site-packages\django\db\models\fields\related.py in __set__, line 627
Python Executable: C:\Users\Ohm\Desktop\app_virt\Scripts\python.exe
Python Version: 2.7.9
My setttings in settings.py are:
AUTH_USER_MODEL = 'authentication.MyUser'
SOCIAL_AUTH_USER_MODEL = AUTH_USER_MODEL
Could somebody spot the issue? Thank you.
Hi,
I am using custom user model and keep getting the following error:
My setttings in
settings.pyare:Could somebody spot the issue? Thank you.