1👍
You probably have an app that has a (generic) foreign key to ContentType
. This causes migrations to fail because the database tries to create a foreign key to a table that doesn’t exist yet. Try migrating contenttypes
first with python manage.py migrate contenttypes
and then applying your other migrations.
Source:stackexchange.com