diff options
| author | Raffaele Salmaso <raffaele@salmaso.org> | 2014-08-19 15:24:31 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-09-02 21:09:18 -0400 |
| commit | 1435cfbe8dbd85c17c9a25af99f910c407dfa9bd (patch) | |
| tree | 7b3902cec1c408336b6b908653fb02cecd2a47ee /docs/ref | |
| parent | bda28097126c0ff77c51d598ccc19663bcd3ee95 (diff) | |
Fixed #23302 -- Added --name/-n option to makemigrations command
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index fd80080f64..e91423ff6b 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -683,6 +683,13 @@ written. The ``--merge`` option enables fixing of migration conflicts. +.. django-admin-option:: --name, -n + +.. versionadded:: 1.8 + +The ``--name`` option allows you to give the migration(s) a custom name instead +of a generated one. + migrate [<app_label> [<migrationname>]] --------------------------------------- |
