Opened 3 years ago
Last modified 11 months ago
#33650 new Cleanup/optimization
Update startproject template with config directory
Description (last modified by ) ¶
I propose that we change the startproject
template to put configuration files such as settings.py
, wsgi.py
, and the root urls.py
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!"
According to the ticket's flags, the next step(s) to move this issue forward are:
Unknown. The Someday/Maybe triage stage is used to keep track of high-level ideas or long term feature requests.
It could be an issue that's blocked until a future version of Django (if so, Keywords will contain that version number). It could also be an enhancement request that we might consider adding someday to the framework if an excellent patch is submitted.
If you're interested in contributing to the issue, raising your ideas on the Django Forum would be a great place to start.
Change History (7)
comment:1 by , 3 years ago
Description: | modified (diff) |
---|---|
Summary: | Update startproject template with config directory and custom user model → Update startproject template with config directory |
Triage Stage: | Unreviewed → Someday/Maybe |
comment:2 by , 3 years ago
Cc: | added |
---|
comment:3 by , 13 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 13 months ago
Cc: | added |
---|---|
Triage Stage: | Someday/Maybe → Ready for checkin |
comment:5 by , 13 months ago
Triage Stage: | Ready for checkin → Accepted |
---|
comment:6 by , 13 months ago
Has patch: | unset |
---|---|
Owner: | removed |
Status: | assigned → new |
Triage Stage: | Accepted → Someday/Maybe |
Please don't accept tickets, for which discussion has been requested.
comment:7 by , 11 months ago
Cc: | added |
---|
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.