Created
January 23, 2012 12:39
-
-
Save kouroshshafi/1662930 to your computer and use it in GitHub Desktop.
Extending User class to save profile picture in django-social-auth when registering
(from https://django-social-auth.readthedocs.org/en/v0.7.18/signals.html)
"Take into account that when defining a custom User model and declaring signal handler in models.py, the imports and handler definition must be made after the custom User model is defined or circular imports issues will be raised."
Signals are deprecated is Django SocialAuth, pipeline methods have to be used now.
from social_auth.signals.py:
"This module is deprecated, this signals aren't used by the code anymore and it's functionality should be replaced by pipeline methods."
Is this still working? I can't get profile picture from Goolge. Im I have to update something?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dmeehan. No I have not faced such a problem; try commenting this line! because if I turn this line on, I get some other kind of errors.
SOCIAL_AUTH_USER_MODEL = 'myapp.CustomUser'