I tried to delete the 'db.sqlite3' file and do the migration again, but it didn't work
CodePudding user response:
If you made changes to your model, you need to run python manage.py makemigrations
. If this is a new project that you have never deployed to production, you can delete the migrations
folder before running this command.
Then run python manage.py migrate
.