diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-03-25 11:42:03 +0000 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-03-25 11:42:03 +0000 |
| commit | 09ab447d083558c0822acd58ab621e06c206ccba (patch) | |
| tree | bd5123f59f1c8cbd96037ce7d166412aa08d7de7 /docs | |
| parent | 1edfa155e34dde549ef0e93414f2846dce59e5f7 (diff) | |
| parent | f34e8fc890d44f4f913fe812f2cdeb5666f0fa27 (diff) | |
Merge pull request #2465 from coder9042/ticket_22258
Fixed #22257 -- Added file output option to dumpdata command.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 7 | ||||
| -rw-r--r-- | docs/releases/1.8.txt | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index ca418681d0..fc36e138e9 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -277,6 +277,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 ----- diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 7e81cb6e08..ba17a07cca 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -124,7 +124,8 @@ Internationalization Management Commands ^^^^^^^^^^^^^^^^^^^ -* ... +* :djadmin:`dumpdata` now has the option ``--output`` which allows to specify the +file to which the serialized data is to be written. Models ^^^^^^ |
