#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 by , 5 years ago
| Has patch: | set | 
|---|
comment:2 by , 5 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
Good catch.
PR