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)
Change History (3)
by , 14 years ago
Attachment: | dumpdata-clarification.diff added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [13469]) Fixed #13746: made the dumdata help message a bit clearer. Thanks, PaulM.