summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Szoja <jszoja@gmail.com>2021-08-31 09:14:47 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-08-31 13:34:50 +0200
commit4e55806720f623f08ced65bf5927780ea210a80e (patch)
tree9de7194a47f4299b693d98635cc3a02a59e2e37f
parentfe3a854e1de2753ad6fa78a8584f85186092f801 (diff)
[3.2.x] Refs #25264 -- Doc's that not all default options are supported by every management command.
Backport of 3cca5fdd3eb5906a385adaf9872581d4ed359041 from main
-rw-r--r--docs/ref/django-admin.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 943a96a445..8014568111 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -76,8 +76,8 @@ Displaying debug output
.. program:: None
-Use :option:`--verbosity` to specify the amount of notification and debug
-information that ``django-admin`` prints to the console.
+Use :option:`--verbosity`, where it is supported, to specify the amount of
+notification and debug information that ``django-admin`` prints to the console.
Available commands
==================
@@ -1775,7 +1775,7 @@ Default options
.. program:: None
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
@@ -1812,6 +1812,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
``CommandError`` occurs and a full stack trace for any other exception.
+This option is ignored by :djadmin:`runserver`.
+
Example usage::
django-admin migrate --traceback
@@ -1826,6 +1828,8 @@ should print to the console.
* ``2`` means verbose output.
* ``3`` means *very* verbose output.
+This option is ignored by :djadmin:`runserver`.
+
Example usage::
django-admin migrate --verbosity 2