Currently, help only shows custom commands when specified through MANAGEMENT_COMMANDS_PATHS and MANAGEMENT_COMMANDS_ALIASES. However if MANAGEMENT_COMMANDS_MODULES is configured (and looking at source code MANAGEMENT_COMMANDS_SUBMODULES), and there's commands there they do not show in the help when running manage.py --help
Suggested Solution
Like ManagementUtility.main_help_text needs to be updated to get all commands in the specified modules/submodules so they can be printed.
Description
Currently, help only shows custom commands when specified through
MANAGEMENT_COMMANDS_PATHS
andMANAGEMENT_COMMANDS_ALIASES
. However ifMANAGEMENT_COMMANDS_MODULES
is configured (and looking at source codeMANAGEMENT_COMMANDS_SUBMODULES
), and there's commands there they do not show in the help when runningmanage.py --help
Suggested Solution
Like
ManagementUtility.main_help_text
needs to be updated to get all commands in the specified modules/submodules so they can be printed.Terms