omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

Import not working when using django, pip folder naming is wrong #949

Closed hovi closed 7 years ago

hovi commented 8 years ago

Hey,

I tried using python-social-auth with django and I was getting error: No module named social.apps.django_app

After some digging, I found out that folder was actually named Social, not social and that was causing the trouble (in lib/python2.7/site-packages of my virtualenv). I am no python expert, but I would guess something is wrong with your pip configuration.

LennyLip commented 8 years ago

you must add 'social.apps.django_app.default' into your INSTALLED_APPS in django settings. please, read docs.