summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Pedro Fernandes Santos <borfast@gmail.com>2017-08-09 23:05:05 +0100
committerTim Graham <timograham@gmail.com>2017-08-09 18:05:18 -0400
commit7e7edba64bb432dfec36123e03a38074e5fb6fb1 (patch)
tree1ea8bf33ffdcf8cf769346697c83b23480c6accb
parent479554f569abe5dbca980ac930fa1f474ef17c6e (diff)
[1.11.x] Fixed argument name in call_command() docstring.
Follow up to 8f6a1a15516629b30e2fa2c48d5e682f7955868c. Backport of 7104e051c1c53c1348c1ebb630e5074ea49943b7 from master
-rw-r--r--django/core/management/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py
index 6466130f5f..ad66735c82 100644
--- a/django/core/management/__init__.py
+++ b/django/core/management/__init__.py
@@ -82,8 +82,9 @@ def call_command(command_name, *args, **options):
This is the primary API you should use for calling specific commands.
- `name` may be a string or a command object. Using a string is preferred
- unless the command object is required for further processing or testing.
+ `command_name` may be a string or a command object. Using a string is
+ preferred unless the command object is required for further processing or
+ testing.
Some examples:
call_command('migrate')