mirror of
https://github.com/django/django.git
synced 2025-02-10 01:16:53 +00:00
Removed obsolete note in management.get_commands() docstring.
Commit 901c3708fb8a2e51bddd37358f8e536282a8c266 documented that the return dict could directly include command modules instead of name strings, which was true at the time. However, that possibility was removed in commit 38f1fe3b35c212136d959538a309c33bf2d340a9.
This commit is contained in:
parent
85df081add
commit
9ba2e8821f
@ -65,10 +65,6 @@ def get_commands():
|
||||
pairs from this dictionary can then be used in calls to
|
||||
load_command_class(app_name, command_name)
|
||||
|
||||
If a specific version of a command must be loaded (e.g., with the
|
||||
startapp command), the instantiated module can be placed in the
|
||||
dictionary in place of the application name.
|
||||
|
||||
The dictionary is cached on the first call and reused on subsequent
|
||||
calls.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user