1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #26190 -- Returned handle() result from call_command

Thanks Tim Graham for the review.
This commit is contained in:
Claude Paroz
2016-02-13 18:14:36 +01:00
parent 47b5a6a43c
commit b46c0ea6c8
4 changed files with 25 additions and 20 deletions

View File

@@ -230,6 +230,9 @@ Internationalization
Management Commands
~~~~~~~~~~~~~~~~~~~
* :func:`~django.core.management.call_command` now returns the value returned
from the ``command.handle()`` method.
* The new :option:`check --fail-level` option allows specifying the message
level that will cause the command to exit with a non-zero status.