Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6eb01cb

Browse files
tim-mccurrachfelixxm
authored andcommitted
[3.1.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option.
Backport of cf2f6fc from main
1 parent 11d241d commit 6eb01cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/ref/django-admin.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,9 @@ Specifies the number of indentation spaces to use in the output. Defaults to
325325
.. django-admin-option:: --exclude EXCLUDE, -e EXCLUDE
326326

327327
Prevents specific applications or models (specified in the form of
328-
``app_label.ModelName``) from being dumped. If you specify a model name, the
329-
output will be restricted to that model, rather than the entire application.
330-
You can also mix application names and model names.
328+
``app_label.ModelName``) from being dumped. If you specify a model name, then
329+
only that model will be excluded, rather than the entire application. You can
330+
also mix application names and model names.
331331

332332
If you want to exclude multiple applications, pass ``--exclude`` more than
333333
once::

0 commit comments

Comments
 (0)