diff options
| author | Claude Paroz <claude@2xlibre.net> | 2018-05-21 11:32:51 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2018-06-06 19:17:57 +0200 |
| commit | 33b5313d7c0869d6268fa8d550d20eaa172bdfb1 (patch) | |
| tree | 8a7e493e676dde8f5fc41c2332d3a250605db7a2 /docs | |
| parent | 38bdac4752cd8b27b786fc4aec5516d785f4b6ba (diff) | |
[2.1.x] Fixed #29301 -- Added custom help formatter to BaseCommand class
This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610.
Thanks Adam Johnson and Carlton Gibson for the reviews.
Backport of ce3351b9508896afdf87d11bd64fd6b5ad928228 from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.1.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index cf2dbd6920..81f112b464 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -145,6 +145,11 @@ Management Commands * The new :option:`inspectdb --include-views` option allows creating models for database views. +* The :class:`~django.core.management.BaseCommand` class now uses a custom help + formatter so that the standard options like ``--verbosity`` or ``--settings`` + appear last in the help output, giving a more prominent position to subclassed + command's options. + Migrations ~~~~~~~~~~ |
