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

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


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.


Try to migrate auth application first, and then others:

manage.py migrate authmanage.py migrate <app_name>


In my case, what i did to fix this was updating to a newer version of django. If you work with mac just do:

  1. pip install django --upgrade
  2. python manage.py makemigrations
  3. python manage.py migrate