mirror of
https://github.com/Hopiu/django.git
synced 2026-05-14 02:23:09 +00:00
Removed obsolete note in management.get_commands() docstring.
Commit901c3708fbdocumented 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 commit38f1fe3b35.
This commit is contained in:
parent
85df081add
commit
9ba2e8821f
1 changed files with 0 additions and 4 deletions
|
|
@ -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…
Reference in a new issue