Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#32576 closed Cleanup/optimization (fixed)

Correct documentation for dumpdata --exclude

Reported by: Tim McCurrach Owned by: Tim McCurrach
Component: Documentation Version: 3.1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The documentation for the dumpdata exclude option currently reads:

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.

This isn't correct. If you specify a model name, the output is not restricted to that model. I think the intended meaning of this sentence is that only that model will be excluded (rather than the entire application being excluded).

Change History (5)

comment:1 Changed 14 months ago by Tim McCurrach

Has patch: set

comment:2 Changed 14 months ago by Mariusz Felisiak

Triage Stage: UnreviewedAccepted

Good catch.

PR

Last edited 14 months ago by Mariusz Felisiak (previous) (diff)

comment:3 Changed 14 months ago by GitHub <noreply@…>

Resolution: fixed
Status: assignedclosed

In cf2f6fc:

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

comment:4 Changed 14 months ago by Mariusz Felisiak <felisiak.mariusz@…>

In 153a681:

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

Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main

comment:5 Changed 14 months ago by Mariusz Felisiak <felisiak.mariusz@…>

In 6eb01cb0:

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

Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main

Note: See TracTickets for help on using tickets.
Back to Top