I have installed python-social-auth==0.3.6. Then I migrated and got an error:
from social_django.models import AbstractUserSocialAuth, UserSocialAuth, Nonce, Association, Code, DjangoStorage
ImportError: No module named 'social_django'
I have installed python-social-auth==0.3.6. Then I migrated and got an error:
from social_django.models import AbstractUserSocialAuth, UserSocialAuth, Nonce, Association, Code, DjangoStorage
ImportError: No module named 'social_django'
[UPDATE]: What worked for me was this:
pip install python-social-auth[django]'django_social', in my INSTALLED_APPS./manage.py migrateYou need to install python-social-auth[django]:
pip install python-social-auth[django]
And then add 'social.apps.django_app.default' to your INSTALLED_APPS.
Then don't forget to run the migrations: ./manage.py migrate
I resolve with
pip install django-rest-framework-social-oauth2==1.0.4 social-auth-core==0.2.1 python-social-auth==0.2.21 django-oauth-toolkit==0.10.0