django-admin showmigrations [app_label...]
Shows all available migrations for the current project
Arguments
Name | Description |
---|
app_label | App labels of applications to limit the output to |
Options
Name | Description |
---|
--database <DATABASE> | Nominates a database to synchronize. Defaults to the "default" database |
--list, -l | Shows a list of all migrations and which are applied. With a verbosity level of 2 or above, the applied datetimes will be included |
--plan, -p | Shows all migrations in the order they will be applied. With a verbosity level of 2 or above all direct migration dependencies and reverse dependencies (run_before) will be included |
--skip-checks | Skip system checks |
-h, --help | Show this help message and exit |
--version | Show 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" |
--traceback | Raise on CommandError exceptions |
--no-color | Don't colorize the command output |
--force-color | Force colorization of the command output |