Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually

后端 未结 6 1583
星月不相逢
星月不相逢 2020-12-09 07:40

I am trying to migrate from Django 1.6 to Django 1.8. I was using South for managing migrations in Django 1.6. I have suc

6条回答
  •  悲哀的现实
    2020-12-09 08:17

    I think this has something to do with "The removal of ContentType.name", according to this. But somehow it doesnt work.

    By manually removing the column name from 'django_content_type' table. Eg.

    'ALTER TABLE django_content_type DROP COLUMN name'

    I was able to apply the migrations. Maybe this can get you a little bit further at least.

提交回复
热议问题