mirror of https://github.com/django/django.git
[3.1.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option.
Backport of cf2f6fc558
from main
This commit is contained in:
parent
11d241dcf7
commit
6eb01cb052
|
@ -325,9 +325,9 @@ Specifies the number of indentation spaces to use in the output. Defaults to
|
||||||
.. django-admin-option:: --exclude EXCLUDE, -e EXCLUDE
|
.. django-admin-option:: --exclude EXCLUDE, -e EXCLUDE
|
||||||
|
|
||||||
Prevents specific applications or models (specified in the form of
|
Prevents specific applications or models (specified in the form of
|
||||||
``app_label.ModelName``) from being dumped. If you specify a model name, the
|
``app_label.ModelName``) from being dumped. If you specify a model name, then
|
||||||
output will be restricted to that model, rather than the entire application.
|
only that model will be excluded, rather than the entire application. You can
|
||||||
You can also mix application names and model names.
|
also mix application names and model names.
|
||||||
|
|
||||||
If you want to exclude multiple applications, pass ``--exclude`` more than
|
If you want to exclude multiple applications, pass ``--exclude`` more than
|
||||||
once::
|
once::
|
||||||
|
|
Loading…
Reference in New Issue