Skip to content

Problem porting from django-social-auth to python-social-auth #682

@laginha

Description

@laginha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions