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:
- pip install django --upgrade
- python manage.py makemigrations
- python manage.py migrate