New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flask example - missing relation 'social_auth_usersocialauth' #4
Comments
Have you tried running |
Yes I have. I'll clone python-social-auth repo and try to check if the problem persists (maybe there's a problem with my environment; I copied files by hand) and I'll get back to you. |
Ok, it's kinda weird, if you clone from git repo - it works, but if you copy files by hand - there's no relation. Steps made (I'm on Arch, python by default is python 3, so I have to call python2.7)
(afterwards tried with postgre)
On http://localhost:5000/complete/..
Maybe Python-Social-Auth package (via pip) differs from git and I've forgotten some step? |
pip package differs (I'm waiting to finish the tests to make a new release), don't run |
Yeah but there's no syncdb command (in package which is provided via pip):
So it's better to install via git for now (I'm not developing anything critical, I just want to keep up with the latest version, which works)? :) |
I've released v0.1.1 to pypi, could you try again? |
Great, it works now. Thank you! |
No problem, I'm closing the issue, reopen if needed. |
…count Add d-account omab#4
I've followed both the tutorial and examples/flask_example but I keep getting error about missing social_auth_usersocialauth relation.
One thing I had to change in the sample was
Base.metadata.create_all(bind=Base)
(Base was missing Model) to
Base.metadata.create_all(bind=db.engine)
Traceback: https://gist.github.com/skakri/5282381
I haven't tried to set up relation manually (I'm not proficient in postgresql).
The text was updated successfully, but these errors were encountered: