[Flask] ImportError: cannot import name social_auth
jingz opened this issue · 1 comments
jingz commented
backtrack
File ".../application/__init__.py", line 145, in register_social_auth
from social.apps.flask_app.routes import social_auth
ImportError: cannot import name social_auth
packages
python-social-auth (0.3.3)
social-auth-app-flask (0.1.0)
social-auth-app-flask-sqlalchemy (0.0.1)
social-auth-core (0.2.1)
social-auth-storage-sqlalchemy (0.0.1)
jingz commented
just use
from social_flask.routes import social_auth