Opened 5 years ago

Closed 5 years ago

#13746 closed (fixed)

dumpdata help does not include info about custom managers

Reported by: PaulM Owned by: PaulM
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: UI/UX:


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 PaulM 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by PaulM

comment:1 Changed 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 5 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

(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