#36089: Refactor the ManagementUtility to make get_commands a method
-------------------------------------+-------------------------------------
Reporter: d9pouces | Owner: (none)
Type: New feature | Status: new
Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution:
Keywords: commands | Triage Stage:
ManagementUtility | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by d9pouces:
Old 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.
New 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
`get_management_commands` method to ManagementUtility that only calls the
original `get_commands` function.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/36089#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/010701945a898526-5efb5e26-cd44-4b4b-94be-d8ceda8c14a2-000000%40eu-central-1.amazonses.com.