From 6eb01cb0521a09003c42a3ab3ad7503ecede36be Mon Sep 17 00:00:00 2001 From: tim-mccurrach <34194722+tim-mccurrach@users.noreply.github.com> Date: Mon, 22 Mar 2021 07:43:56 +0000 Subject: [PATCH] [3.1.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option. Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main --- docs/ref/django-admin.txt | 6 +++--- 1 file 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::