I got following error when migrating my Django application using South.
from django.db import models, migrations
ImportError: cannot import name migrations
I use Django==1.5.7
django-celery==3.2.1
and South==1.0.1
in my application.
This is the log,
UnknownMigration: Migration 'djcelery:0001_initial' probably doesn't exist.
Traceback (most recent call last):
File "/env/env/local/lib/python2.7/site-packages/south/migration/base.py", line 310, in migration
migration = __import__(full_name, {}, {}, ['Migration'])
File "/env/env/local/lib/python2.7/site-packages/django_celery-3.2.1-py2.7.egg/djcelery/migrations/0001_initial.py", line 4, in <module>
from django.db import models, migrations
ImportError: cannot import name migrations
This doesn't solve my question because I'm using South to migrate here and seems it is related to django-celery.
Can anyone please help me with this?