Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#29448 closed New feature (wontfix)

Create management command management command

Reported by: Katie McLaughlin Owned by: Katie McLaughlin
Component: Core (Management commands) Version: 2.0
Severity: Normal Keywords:
Cc: Adam (Chainz) Johnson Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


There already exists a startproject for creating projects using a template, and startapp for apps.

This feature would create a management command, using itself a management command.

Change History (4)

comment:1 Changed 16 months ago by Adam (Chainz) Johnson

Cc: Adam (Chainz) Johnson added

comment:2 Changed 16 months ago by Claude Paroz

I'm not very thrilled by the idea. We already have detailed instructions in the docs (

comment:3 Changed 16 months ago by Carlton Gibson

Resolution: wontfix
Status: assignedclosed

I feel this one.

It's not that the instructions are not good/correct, it's that "Ooo, I can make a management command" leads straight to, "Oh, I have to create a folder, and an, Oh and another folder, Oh and another".

And then it's, "Oh, hang on, what are the imports?" and "What do I have to subclass?" and "What methods do I need to implement?".

It's a real pain.

I'm going to say wontfix on this though, since Django Extensions already implements a `create_command` command, which sets up the folders and puts a command scaffolding in (that looks like this).

That does the job perfectly. I don't think we can improve.

_Maybe_ on pulling it into core, but the whole point of Django Extensions is that useful stuff lives there that we haven't pulled in (and may or may not pull in). As a community we should make sure users know it exists, since it's great.

I hope that's fair. Katie, if you still think, "Yes, this should be in core" then please follow up on Django Developers and we can discuss.

Last edited 16 months ago by Carlton Gibson (previous) (diff)

comment:4 in reply to:  3 Changed 16 months ago by Katie McLaughlin

Replying to Carlton Gibson:

I hope that's fair.

Totally fair.

Django Extensions

I really need to investigate this one more. I was told in passing "Oh, Django Extensions does that" (in the context of something else), but without knowing what Django Extensions *is*, where it sits in the ecosystem, and realising it's purpose, I totally accept that this issue is outside of scope of core.

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