Skip to content

Show commands from MANAGEMENT_COMMANDS_MODULES in help #10

Open
@mikicz

Description

@mikicz

Description

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.

Terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions