#11286 closed (fixed)
Dumpdata management command does not use _default_manager
Reported by: | Marc Remolt | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In django/core/management/commands/dumpdata.py on line 75f:
for model in model_list: objects.extend(model.objects.all())
As I understand it, Django core now exclusively uses model_default_manager instead of the hard coded model.objects, so there is no reason to keep is here.
Change History (3)
comment:1 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This does seem to be an inadvertent regression of an earlier fix, as noted here:
http://code.djangoproject.com/ticket/6155#comment:6