About Migrations in Progress

If you want to commit an unfinished migration to the repo, but don't want it to be executed on any environment yet, add a "_" prefix to the file name, e.g.

1
$ mv 0007_create_data.py _0007_create_data.py

Tips and Tricks Programming Development Django 4.2 Django 3.2 Django 2.2 Git