Django south schemamigration KeyError

112 views Asked by At

I am trying to do a schemamigration in Django with south using the following command where core is the app I would like to migrate.

$ python manage.py schemamigration core --auto

Unfortunately this throws the following KeyError:

KeyError: u"The model 'externaltoolstatus' from the app 'core' is not available in this migration."

Does anybody know a way to how figure out what went wrong or where/when this error was thrown during the migration?

1

There are 1 answers

2
F Lekschas On

I figured out the last migration files were accidentally corrupted and caused the KeyError.