#14162: Dumpdata needs an option to use the base manager instead of the default manager -----------------------------+---------------------------------------------- Reporter: PaulM | Owner: PaulM Status: new | Milestone: 1.3 Component: django-admin.py | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | -----------------------------+---------------------------------------------- Objects with custom managers sometimes filter results when `dumpdata` is run. Often we want to dump all the objects in our database, not just the subset of objects which are returned by the default manager.
The attached patch adds a `--all` option to the `dumpdata` command which makes it use Django's base manager instead of the default manager. This means that even objects which would normally be filtered by the default manager are returned. -- Ticket URL: <http://code.djangoproject.com/ticket/14162> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
