Opened 23 months ago

Last modified 7 weeks ago

#33650 new Cleanup/optimization

Update startproject template with config directory

Reported by: Timothy Allen Owned by:
Component: Core (Management commands) Version: dev
Severity: Normal Keywords: startproject, template
Cc: John Speno, Salaah Amin Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

I propose that we change the startproject template to put configuration files such as,, and the root in my_project/config instead of my_project/my_project.

Over the years, I've taught or tutored over 100 Djangonauts starting their first project. Having to explain and distinguish between two directories with the same name is a constant pain point in the teaching process - "cd into my_project ... no, the other one!"

Change History (6)

comment:1 by Tim Graham, 23 months ago

Description: modified (diff)
Summary: Update startproject template with config directory and custom user modelUpdate startproject template with config directory
Triage Stage: UnreviewedSomeday/Maybe

It would be better to first propose these ideas on the mailing list to build consensus. And since the two ideas are independent, it would be better to have two separate tickets. #27909 is already at "someday/maybe" status regarding the custom user model, pending a discussion. I'll repurpose this one to focus on changing the settings directory name. I'm not sure if that's been proposed, but I found a recent discussion on the forum. I see you've already offered a patch.

comment:2 by John Speno, 22 months ago

Cc: John Speno added

comment:3 by Salaah Amin, 7 weeks ago

Owner: changed from nobody to Salaah Amin
Status: newassigned

comment:4 by Salaah Amin, 7 weeks ago

Cc: Salaah Amin added
Triage Stage: Someday/MaybeReady for checkin

comment:5 by Salaah Amin, 7 weeks ago

Triage Stage: Ready for checkinAccepted

comment:6 by Mariusz Felisiak, 7 weeks ago

Has patch: unset
Owner: Salaah Amin removed
Status: assignednew
Triage Stage: AcceptedSomeday/Maybe

Please don't accept tickets, for which discussion has been requested.

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