dumpdata help does not include info about custom managers
|Reported by:||PaulM||Owned by:||PaulM|
|Component:||Core (Management commands)||Version:||1.2|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.