From f34e8fc890d44f4f913fe812f2cdeb5666f0fa27 Mon Sep 17 00:00:00 2001 From: Anubhav Joshi Date: Sun, 23 Mar 2014 10:40:12 +0530 Subject: Fixed #22257 -- Added file output option to dumpdata command. --- docs/ref/django-admin.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 2daca51382..962d1e196d 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -287,6 +287,13 @@ you can use the ``--pks`` option to specify a comma separated list of primary keys on which to filter. This is only available when dumping one model. +.. versionadded:: 1.8 + +.. django-admin-option:: --output + +By default ``dumpdata`` will output all the serialized data to standard output. +This options allows to specify the file to which the data is to be written. + flush ----- -- cgit v1.3