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
Problem porting from django-social-auth to python-social-auth #682
Comments
I solved the problem. While in django 1.6:
When that is done, you have django-social-auth's and python-social-auth's migrations in sync. Thus after you upgrade to django 1.7 or higher:
|
I had the same problem. Apparently my database was in an inconsistent state, probably due to switching to Django 1.7 and PSA at the same time. I ended up fixing it in the database directly, by using the output from In my case these changes were missing:
After that, the migrations would apply cleanly. |
I'm migrating to django 1.8 and I took this change to port from django-social-auth to python-social-auth.
However I'm having problems with python-social-auth's migrations. It seems its initial migration does not match with the latest
models.py
in django-social-auth. The difference is, python-social-auth adds a new modelCode
. Which means:if I fake the initial migration, migrating 0003 will not work
if I don't fake the initial migration, I immediately get an error
Any suggestion on how to solve this problem?
Thanks
The text was updated successfully, but these errors were encountered: