summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-06-11 14:01:35 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-06-11 14:01:35 +0000
commit9c50495464db24eaad30984519ab9e31b5ffb044 (patch)
treef7e349c92289b29811382a32395ddeb21e941344 /docs
parent5e202f5acf36f33e1b530514ff205536fe1fd62f (diff)
Fixed #7254 -- Added an '--exclude' option to dumpdata, allowing specific applications to be removed from the dump output. Thanks to Carl Karsten for the idea and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/django-admin.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/django-admin.txt b/docs/django-admin.txt
index e14737c944..e8e3b54945 100644
--- a/docs/django-admin.txt
+++ b/docs/django-admin.txt
@@ -164,6 +164,22 @@ dumped.
.. _custom manager: ../model-api/#custom-managers
+--exclude
+~~~~~~~~~
+
+**New in Django development version**
+
+Exclude a specific application from the applications whose contents is
+output. For example, to specifically exclude the `auth` application from
+the output, you would call::
+
+ django-admin.py dumpdata --exclude=auth
+
+If you want to exclude multiple applications, use multiple ``--exclude``
+directives::
+
+ django-admin.py dumpdata --exclude=auth --exclude=contenttype
+
--format
~~~~~~~~