When I run python manage.py migrate
on my Django project, I get the following error:
Traceback (most recent call last):
File \"manage.py\", line
The order of INSTALLED_APPS
seems important.
If you always put your recent works on top/beginning of the list they'll always be loaded properly in regard to django.contrib.admin. Moving my works to the beginning of the INSTALLED_APPS
list fixed this problem for me.
The reason Kun Shi's solution may have worked maybe it ran the migrations in a different order.