From 3cca5fdd3eb5906a385adaf9872581d4ed359041 Mon Sep 17 00:00:00 2001 From: Jan Szoja Date: Tue, 31 Aug 2021 09:14:47 +0200 Subject: [PATCH] Refs #25264 -- Doc's that not all default options are supported by every management command. --- docs/ref/django-admin.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index c9618aa5fb..1c8268e192 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 ================== @@ -1796,7 +1796,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 @@ -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 ``CommandError`` occurs and a full stack trace for any other exception. +This option is ignored by :djadmin:`runserver`. + Example usage:: django-admin migrate --traceback @@ -1847,6 +1849,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