Search code examples
pythondjangopython-social-authdjango-socialauth

Migrating social_auth to django_social using Django 1.11 and Python 3.6


I'm having problem while trying to migrate social_auth module to django_social using Django 1.11 and Python 3.6. I have some models in my models.py file that uses

from social_auth.signals import pre_update, socialauth_registered
from social_auth.backends.facebook import FacebookBackend
from social_auth.backends.twitter import TwitterBackend

but I can't find the equivalent to social_auth.signals into django_social

Are they deprecated? Is there a newer version to use them?


Solution

  • According to the signals.py file from a past revision, it looks like signals were deprecated and are no longer used.

    # This module is deprecated, this signals aren't used by the code anymore
    # and it's functionality should be replaced by pipeline methods.