From c296e55dc6a697c7e4d4be92b954633cda4a79b1 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 21 Jul 2015 23:24:32 +0200 Subject: Fixed #22258 -- Added progress status for dumpdata when outputting to file Thanks Gwildor Sok for the report and Tim Graham for the review. --- docs/ref/django-admin.txt | 6 ++++++ docs/releases/1.9.txt | 2 ++ 2 files changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 23c4de9fab..25b1a9a3f9 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -309,6 +309,12 @@ one model. By default ``dumpdata`` will output all the serialized data to standard output. This option allows you to specify the file to which the data is to be written. +When this option is set and the verbosity is greater than 0 (the default), a +progress bar is shown in the terminal. + +.. versionchanged:: 1.9 + + The progress bar in the terminal was added. flush ----- diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index 148e857c86..3c35ea23a2 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -364,6 +364,8 @@ Management Commands preceded by the operation's description. * The :djadmin:`dumpdata` command output is now deterministically ordered. + Moreover, when the ``--ouput`` option is specified, it also shows a progress + bar in the terminal. * The :djadmin:`createcachetable` command now has a ``--dry-run`` flag to print out the SQL rather than execute it. -- cgit v1.3