1
0
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:
Anders Kaseorg 2022-07-24 22:55:52 -07:00 committed by GitHub
parent 85df081add
commit 9ba2e8821f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
"""