django-admin makemigrations [app_label...]

Creates new migration(s) for apps

Arguments

NameDescription
app_labelSpecify the app label(s) to create migrations for

Options

NameDescription
--dry-runJust show what migrations would be made; don't actually write them
--mergeEnable fixing of migration conflicts
--emptyCreate an empty migration
--noinput, --no-inputTells Django to NOT prompt the user for input of any kind
-n, --name <NAME>Use this name for migration file(s)
--no-headerDo not add header comments to new migration file(s)
--checkExit with a non-zero status if model changes are missing migrations
--skip-checksSkip system checks
-h, --helpShow this help message and exit
--versionShow program's version number and exit
-v, --verbosity <{0,1,2,3}>Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output
--settings <SETTINGS>The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used
--pythonpath <PYTHONPATH>A directory to add to the Python path, e.g. "/home/djangoprojects/myproject"
--tracebackRaise on CommandError exceptions
--no-colorDon't colorize the command output
--force-colorForce colorization of the command output