Django migrations system is complex and optimal way to manage migrations, one can create, delete and update large number of models with ease, but this might sometime can create some unwanted trouble. If you are in development environment and will not mind cleaning up migrations here are few sets to follow.
Navigate to migrations folder and delete all .py and .pyc files except
Run following commands.
find . -path “*/migrations/*.py” -not -name “__init__.py” -delete find . -path “*/migrations/*.pyc” -delete
python manage.py makemigrations python manage.py migrate
And you are done these are few simple steps to reset migrations within your project.