From b46c0ea6c87f006f9ef0ccc5d8c0fa2445fb4156 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 13 Feb 2016 18:14:36 +0100 Subject: Fixed #26190 -- Returned handle() result from call_command Thanks Tim Graham for the review. --- docs/ref/django-admin.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 87753b28bd..6a7752f40c 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1793,6 +1793,14 @@ Command options which take multiple options are passed a list:: management.call_command('dumpdata', exclude=['contenttypes', 'auth']) +The return value of the ``call_command()`` function is the same as the return +value of the ``handle()`` method of the command. + +.. versionchanged:: 1.10 + + ``call_command()`` now returns the value received from the + ``command.handle()`` method. + Output redirection ================== -- cgit v1.3