Unknown migration for "djcelery: 0001_initial" when porting a Django application using south

I had the following error while porting a 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.1and South==1.0.1in its application.

This is a magazine

    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 does not solve my question, because I use the South to migrate here and it seems to be related to django-celery.

Can anyone help me with this?

+4
source share

Source: https://habr.com/ru/post/1684183/


All Articles