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:45:20 +0100
commit6eb01cb0521a09003c42a3ab3ad7503ecede36be (patch)
tree40afed08227b2b050b4323a68a20132dd0989891
parent11d241dcf78842764fc3d0feac1a0b2bd78aa398 (diff)
[3.1.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 6dd91ceaff..1542d7d4f2 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -325,9 +325,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::