简体   繁体   中英

DatabaseError when using facebook login on django-social-auth

I have a django app, and would like to use django-social-auth for facebook/twitter authentication.

I've installed the django-social-auth app and deployed my app on heroku. The home page shows up fine, and when I click, "login using facebook", I am redirected to the correct facebook login page. However, after I click login, I am taken to a page with this error:

DatabaseError at /complete/facebook/
relation "social_auth_usersocialauth" does not exist

What exactly is the issue here? And how can I go about solving it?

我只是忘了做syncdb和迁移。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM