Opened 8 years ago

Closed 8 years ago

#27189 closed New feature (needsinfo)

Allow namespaced management commands

Reported by: john-bonachon Owned by: nobody
Component: Core (Management commands) Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I always think management commands should be namespaced. ie.

python manage.py app:command

It's very normal to have the same command name for different apps.

It isn't a problem really, but it would be more elegant.
Is it already discussed? Is it too late? Why it could be a bad idea?

Change History (1)

comment:1 by Tim Graham, 8 years ago

Resolution: needsinfo
Status: newclosed
Summary: Namespace management commands?Allow namespaced management commands
Type: UncategorizedNew feature

I'm not aware of any recent discussion. I know of some third-party solutions such as django-subcommand. Anyway, it would be better to bring this up on the DevelopersMailingList. If there's consensus on a concrete proposal, we can reopen the ticket. Thanks.

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