Opened 13 hours ago

Last modified 11 hours ago

#36089 closed New feature

Refactor the ManagementUtility to make get_commands a method — at Initial Version

Reported by: d9pouces Owned by:
Component: Core (Management commands) Version: dev
Severity: Normal Keywords: commands ManagementUtility
Cc: Mariusz Felisiak Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The ManagementUtility directly uses the get_commands function instead of encapsulating it in a method that could be overridden, for example to exclude some unwanted Django commands.

To ensure compatibility, the simplest way is to add a method to ManagementUtility that only calls the original get_methods function.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top