Skip to content
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

Make Migrations Backward-Compatible with South #353

Closed
clintonb opened this issue Aug 14, 2014 · 0 comments
Closed

Make Migrations Backward-Compatible with South #353

clintonb opened this issue Aug 14, 2014 · 0 comments

Comments

@clintonb
Copy link
Contributor

Using the latest commit (d53529b) with Django 1.6, I get an error when running migrations introduced by #318:

south.exceptions.UnknownMigration: Migration 'default:0001_initial' probably doesn't exist.
Traceback (most recent call last):
  File "/Users/clintonb/.virtualenvs/edx-analytics-dashboard/lib/python2.7/site-packages/south/migration/base.py", line 302, in migration
    migration = __import__(full_name, {}, {}, ['Migration'])
  File "/Users/clintonb/.virtualenvs/edx-analytics-dashboard/src/python-social-auth/social/apps/django_app/default/migrations/0001_initial.py", line 4, in <module>
    from django.db import models, migrations
ImportError: cannot import name migrations

The migrations should support both Django 1.7 and South for Django < 1.7. See http://south.readthedocs.org/en/latest/releasenotes/1.0.html#library-migration-path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants