mirror of
https://github.com/django/django.git
synced 2025-03-21 14:50:45 +00:00
[1.11.x] Fixed argument name in call_command() docstring.
Follow up to 8f6a1a15516629b30e2fa2c48d5e682f7955868c. Backport of 7104e051c1c53c1348c1ebb630e5074ea49943b7 from master
This commit is contained in:
parent
479554f569
commit
7e7edba64b
@ -82,8 +82,9 @@ def call_command(command_name, *args, **options):
|
|||||||
|
|
||||||
This is the primary API you should use for calling specific commands.
|
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
|
`command_name` may be a string or a command object. Using a string is
|
||||||
unless the command object is required for further processing or testing.
|
preferred unless the command object is required for further processing or
|
||||||
|
testing.
|
||||||
|
|
||||||
Some examples:
|
Some examples:
|
||||||
call_command('migrate')
|
call_command('migrate')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user