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 model Code. Which means:
-
if I fake the initial migration, migrating 0003 will not work
django.db.utils.ProgrammingError: relation "social_auth_code" does not exist`
-
if I don't fake the initial migration, I immediately get an error
django.db.utils.ProgrammingError: relation "social_auth_association" already exists`
Any suggestion on how to solve this problem?
Thanks
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.pyin 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