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

Removed an unncessary docs cross-reference for call_command().

This commit is contained in:
Tim Graham
2016-01-12 18:01:29 -05:00
parent 555f8e9d5c
commit a7752780d9
4 changed files with 15 additions and 15 deletions

View File

@@ -254,8 +254,9 @@ Django 1.5 also includes several smaller improvements worth noting:
* The generic views support OPTIONS requests.
* Management commands do not raise ``SystemExit`` any more when called by code
from :ref:`call_command <call-command>`. Any exception raised by the command
(mostly :exc:`~django.core.management.CommandError`) is propagated.
from :func:`~django.core.management.call_command`. Any exception raised by
the command (mostly :exc:`~django.core.management.CommandError`) is
propagated.
Moreover, when you output errors or messages in your custom commands, you
should now use ``self.stdout.write('message')`` and