diff options
| author | Tim Graham <timograham@gmail.com> | 2016-01-12 18:01:29 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-12 18:02:20 -0500 |
| commit | 12554693e4330e0b9c57b0769915f4c793b244ee (patch) | |
| tree | ef30ccf32ff5272104f450a379b6416c1f6be6f5 /docs/howto | |
| parent | a63b7c479ebab1820f3e3bff2b16bc5a7c5aa493 (diff) | |
[1.9.x] Removed an unncessary docs cross-reference for call_command().
Backport of a7752780d9e78e12d0bd7bd2dcf920d304e039bc from master
Diffstat (limited to 'docs/howto')
| -rw-r--r-- | docs/howto/custom-management-commands.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index 932381e08f..238f61662d 100644 --- a/docs/howto/custom-management-commands.txt +++ b/docs/howto/custom-management-commands.txt @@ -358,7 +358,7 @@ the :meth:`~BaseCommand.handle` method must be implemented. .. admonition:: Calling a management command in your code ``execute()`` should not be called directly from your code to execute a - command. Use :ref:`call_command <call-command>` instead. + command. Use :func:`~django.core.management.call_command` instead. .. method:: BaseCommand.handle(*args, **options) @@ -439,5 +439,6 @@ message to the appropriate output stream (i.e., stderr); as a result, raising this exception (with a sensible description of the error) is the preferred way to indicate that something has gone wrong in the execution of a command. -If a management command is called from code through :ref:`call_command -<call-command>`, it's up to you to catch the exception when needed. +If a management command is called from code through +:func:`~django.core.management.call_command`, it's up to you to catch the +exception when needed. |
