mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed #22257 -- Added file output option to dumpdata command.
This commit is contained in:
parent
416a858023
commit
f34e8fc890
4 changed files with 26 additions and 4 deletions
|
|
@ -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
|
||||
-----
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
^^^^^^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue