summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-12-17 09:09:08 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-12-17 09:09:08 +0000
commit3edf2ebd9488bd57ceee9985b3ee7729e8a0f002 (patch)
treeb6fef979b55d54c955027bc2ff67746bd6c9c68b /docs
parent06482d4aa48d614f872043b6a6475d44cbdf2cb6 (diff)
Fixed #6155 -- Fixed dumpdata to work with the default model manager (necessary
for the rare cases when the 'objects' manager might not even exist). Based on a patch from Michael Trier. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/django-admin.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/django-admin.txt b/docs/django-admin.txt
index 2977f9908f..4697e54dd7 100644
--- a/docs/django-admin.txt
+++ b/docs/django-admin.txt
@@ -132,6 +132,13 @@ If no application name is provided, all installed applications will be dumped.
The output of ``dumpdata`` can be used as input for ``loaddata``.
+Note that ``dumpdata`` uses the default manager on the mdoel for selecting the
+records to dump. If you're using a `custom manager`_ as the default manager
+and it filters some of the available records, not all of the objects will be
+dumped.
+
+.. _custom manager: ../model-api/#custom-managers
+
--format
~~~~~~~~