1
0
mirror of https://github.com/django/django.git synced 2025-04-12 11:32:20 +00:00

[3.2.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option.

Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main
This commit is contained in:
tim-mccurrach 2021-03-22 07:43:56 +00:00 committed by Mariusz Felisiak
parent fb92a9e287
commit 153a681198

View File

@ -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::