Refs #25264 -- Doc's that not all default options are supported by every management command.

This commit is contained in:
Jan Szoja 2021-08-31 09:14:47 +02:00 committed by Mariusz Felisiak
parent 93e06f2978
commit 3cca5fdd3e
1 changed files with 7 additions and 3 deletions

View File

@ -76,8 +76,8 @@ Displaying debug output
.. program:: None .. program:: None
Use :option:`--verbosity` to specify the amount of notification and debug Use :option:`--verbosity`, where it is supported, to specify the amount of
information that ``django-admin`` prints to the console. notification and debug information that ``django-admin`` prints to the console.
Available commands Available commands
================== ==================
@ -1796,7 +1796,7 @@ Default options
.. program:: None .. program:: None
Although some commands may allow their own custom options, every command Although some commands may allow their own custom options, every command
allows for the following options: allows for the following options by default:
.. django-admin-option:: --pythonpath PYTHONPATH .. django-admin-option:: --pythonpath PYTHONPATH
@ -1833,6 +1833,8 @@ Displays a full stack trace when a :exc:`~django.core.management.CommandError`
is raised. By default, ``django-admin`` will show an error message when a is raised. By default, ``django-admin`` will show an error message when a
``CommandError`` occurs and a full stack trace for any other exception. ``CommandError`` occurs and a full stack trace for any other exception.
This option is ignored by :djadmin:`runserver`.
Example usage:: Example usage::
django-admin migrate --traceback django-admin migrate --traceback
@ -1847,6 +1849,8 @@ should print to the console.
* ``2`` means verbose output. * ``2`` means verbose output.
* ``3`` means *very* verbose output. * ``3`` means *very* verbose output.
This option is ignored by :djadmin:`runserver`.
Example usage:: Example usage::
django-admin migrate --verbosity 2 django-admin migrate --verbosity 2