summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortim-mccurrach <34194722+tim-mccurrach@users.noreply.github.com>2021-03-22 07:43:56 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-22 08:44:55 +0100
commit153a681198b5b460c269b4bfa2b1ef0e3ccce1c8 (patch)
treef4ff5281ff03a2c8c066e513ef52f913c6e17dde
parentfb92a9e2879d9944244300353e8c8c72cc5d8e5f (diff)
[3.2.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option.
Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main
-rw-r--r--docs/ref/django-admin.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index c916ff96c8..0b5b9f712b 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -323,9 +323,9 @@ Specifies the number of indentation spaces to use in the output. Defaults to
.. django-admin-option:: --exclude EXCLUDE, -e EXCLUDE
Prevents specific applications or models (specified in the form of
-``app_label.ModelName``) from being dumped. If you specify a model name, the
-output will be restricted to that model, rather than the entire application.
-You can also mix application names and model names.
+``app_label.ModelName``) from being dumped. If you specify a model name, then
+only that model will be excluded, rather than the entire application. You can
+also mix application names and model names.
If you want to exclude multiple applications, pass ``--exclude`` more than
once::