summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2022-07-24 22:55:52 -0700
committerGitHub <noreply@github.com>2022-07-25 07:55:52 +0200
commit9ba2e8821fd88205f029b0e515015ddfb938ba12 (patch)
tree3b0adaa180cf2670a41cd53fbfc67525477adae4
parent85df081add3df46b2ce15be80eef62c83ee0e4a7 (diff)
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.
-rw-r--r--django/core/management/__init__.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py
index 7049e06474..6ef47a0436 100644
--- a/django/core/management/__init__.py
+++ b/django/core/management/__init__.py
@@ -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.
"""