diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt
index e49e2b6..74b67b2 100644
a
|
b
|
the :meth:`~BaseCommand.handle` method must be implemented.
|
243 | 243 | :class:`CommandError`, intercept it and print it sensibly to |
244 | 244 | stderr. |
245 | 245 | |
| 246 | .. admonition:: Calling a management command in your code |
| 247 | |
| 248 | ``execute()`` should not be called directly from your code to execute a |
| 249 | command. Use :ref:`call_command <call-command>` instead. |
| 250 | |
246 | 251 | .. method:: BaseCommand.handle(*args, **options) |
247 | 252 | |
248 | 253 | The actual logic of the command. Subclasses must implement this method. |
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 40b5ee1..bd99958 100644
a
|
b
|
See :doc:`/howto/custom-management-commands` for how to add customized actions.
|
1490 | 1490 | Running management commands from your code |
1491 | 1491 | ========================================== |
1492 | 1492 | |
| 1493 | .. _call-command: |
| 1494 | |
1493 | 1495 | .. function:: django.core.management.call_command(name, *args, **options) |
1494 | 1496 | |
1495 | 1497 | To call a management command from code use ``call_command``. |