Opened 14 years ago

Closed 14 years ago

#13746 closed (fixed)

dumpdata help does not include info about custom managers

Reported by: Paul McMillan Owned by: Paul McMillan
Component: Core (Management commands) Version: 1.2
Severity: Keywords: django-admin, dumpdata
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The current dumpdata help is misleading:

Output the contents of the database as a fixture of the given format.

The docs specify that it does this using the default manager on an object (leading to potential omissions on dumped data) but a user who checks the help command isn't informed of this.

I've attached a patch which clarifies the dumpdata message slightly as well as explicitly mentioning it in the custom manager documentation where it should be noticed as a new user learns about managers.

Attachments (1)

dumpdata-clarification.diff (1.7 KB ) - added by Paul McMillan 14 years ago.

Download all attachments as: .zip

Change History (3)

by Paul McMillan, 14 years ago

Attachment: dumpdata-clarification.diff added

comment:1 by Russell Keith-Magee, 14 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Jacob, 14 years ago

Resolution: fixed
Status: newclosed

(In [13469]) Fixed #13746: made the dumdata help message a bit clearer. Thanks, PaulM.

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