[Django] #32576: Correct documentation for dumpdata --exclude

14 views
Skip to first unread message

Django

unread,
Mar 19, 2021, 5:20:24 PM3/19/21
to django-...@googlegroups.com
#32576: Correct documentation for dumpdata --exclude
-------------------------------------+-------------------------------------
Reporter: Tim | Owner: Tim McCurrach
McCurrach |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: 3.1
Documentation |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The documentation for the [https://docs.djangoproject.com/en/3.1/ref
/django-admin/#cmdoption-dumpdata-exclude 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).

--
Ticket URL: <https://code.djangoproject.com/ticket/32576>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 19, 2021, 5:50:04 PM3/19/21
to django-...@googlegroups.com
#32576: Correct documentation for dumpdata --exclude
-------------------------------------+-------------------------------------
Reporter: Tim McCurrach | Owner: Tim
Type: | McCurrach
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim McCurrach):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/32576#comment:1>

Django

unread,
Mar 20, 2021, 8:05:26 AM3/20/21
to django-...@googlegroups.com
#32576: Correct documentation for dumpdata --exclude
-------------------------------------+-------------------------------------
Reporter: Tim McCurrach | Owner: Tim
Type: | McCurrach
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Unreviewed => Accepted


Comment:

Good catch.

--
Ticket URL: <https://code.djangoproject.com/ticket/32576#comment:2>

Django

unread,
Mar 22, 2021, 3:44:14 AM3/22/21
to django-...@googlegroups.com
#32576: Correct documentation for dumpdata --exclude
-------------------------------------+-------------------------------------
Reporter: Tim McCurrach | Owner: Tim
Type: | McCurrach
Cleanup/optimization | Status: closed
Component: Documentation | Version: 3.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"cf2f6fc558166656f29609e3864df9af81067d0c" cf2f6fc]:
{{{
#!CommitTicketReference repository=""
revision="cf2f6fc558166656f29609e3864df9af81067d0c"
Fixed #32576 -- Corrected dumpdata docs for passing model names to the
--exclude option.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32576#comment:3>

Django

unread,
Mar 22, 2021, 3:45:25 AM3/22/21
to django-...@googlegroups.com
#32576: Correct documentation for dumpdata --exclude
-------------------------------------+-------------------------------------
Reporter: Tim McCurrach | Owner: Tim
Type: | McCurrach
Cleanup/optimization | Status: closed
Component: Documentation | Version: 3.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"153a681198b5b460c269b4bfa2b1ef0e3ccce1c8" 153a681]:
{{{
#!CommitTicketReference repository=""
revision="153a681198b5b460c269b4bfa2b1ef0e3ccce1c8"
[3.2.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to
the --exclude option.

Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32576#comment:4>

Django

unread,
Mar 22, 2021, 3:45:41 AM3/22/21
to django-...@googlegroups.com
#32576: Correct documentation for dumpdata --exclude
-------------------------------------+-------------------------------------
Reporter: Tim McCurrach | Owner: Tim
Type: | McCurrach
Cleanup/optimization | Status: closed
Component: Documentation | Version: 3.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"6eb01cb0521a09003c42a3ab3ad7503ecede36be" 6eb01cb0]:
{{{
#!CommitTicketReference repository=""
revision="6eb01cb0521a09003c42a3ab3ad7503ecede36be"
[3.1.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to
the --exclude option.

Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32576#comment:5>

Reply all
Reply to author
Forward
0 new messages