[Django]-Python3 manage.py migrate gives error about field even when it is deleted from the model class

2👍

After deleting the field from the model class, you need to run python manage.py makemigrations before running python manage.py migrate

So the issue was fixed by deleting all the files inside the migrations folder except the __init__.py file.
And removing all the rows from django_migrations table
And re-applying fake migrations by python manage.py migrate --fake

This fixed the issue. (OP and me had a call to get the issue fixed)

👤Arun T

Leave a comment