Skip to content

Commit

Permalink
[3.1.x] Fixed #32576 -- Corrected dumpdata docs for passing model nam…
Browse files Browse the repository at this point in the history
…es to the --exclude option.

Backport of cf2f6fc from main
  • Loading branch information
tim-mccurrach authored and felixxm committed Mar 22, 2021
1 parent 11d241d commit 6eb01cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ref/django-admin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit 6eb01cb

Please sign in to comment.