social-app-django icon indicating copy to clipboard operation
social-app-django copied to clipboard

relation "social_auth_usersocialauth" does not exist

Open Andre-Oliveira opened this issue 6 years ago • 3 comments

After installing using

pip install social-auth-app-django

and adding it to the installed apps i don't get any new migrations, when i run

python manage.py showmigrations

social_django isnt listed either which results on receiving the following error message

Exception Type: | ProgrammingError
relation "social_auth_usersocialauth" does not exist

when i try to login using Facebook authentication (i expected an error like this to occur since no changes to the database were made)

Any idea on how i could fix this?

social_django is on the INSTALLED_APPS login redirect and backends are in the templates options SocialAuthExceptionMiddleware is in the MIDDLEWARE_CLASSES

Python Version: 2.7.14 Django Version: 1.8.7

Andre-Oliveira avatar Dec 18 '17 12:12 Andre-Oliveira

Is social_django in the PYTHONPATH? Are you able to import from it when running manage.py shell?

omab avatar Feb 22 '18 12:02 omab

@omab I'm able to import it, but I receive the same error as above.

boscorona avatar Feb 28 '18 03:02 boscorona

@nbosco how did you manage to get this fixed?

SantiagoMoyano avatar Apr 22 '19 15:04 SantiagoMoyano