#18858: add ROOT_PATH to settings.py template
-------------------------------------+-------------------------------------
Reporter: revolunet | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: 1.4
Component: Core (Management | Resolution:
commands) | Triage Stage: Design
Severity: Normal | decision needed
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Changes (by ke1g):
* cc: ke1g (added)
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1
* needs_docs: => 0
* stage: Unreviewed => Design decision needed
Comment:
Not everyone wants that directory as ROOT_PATH. With the new directory
layout in 1.4, I find myself wanting one directory up as ROOT_PATH. I put
thingss like static, media, and the source directory for non-app-related
static in sub-directories there, rather than under the directory
containing settings.py, etc. So far that has worked just fine for me.
I've certainly seen the lower directory used as ROOT_PATH, and that works
too.
Yes, we could have one or the other by default, and those of us with the
opposite opinion could edit it. Folks who really didn't want either could
comment it out.
I would make use of it if it were there.
HOWEVER, I wonder whether it represents an extra confusion for newbies.
The settings.py file is complex enough already. (And stuff heard at
Djangocon2012 suggests that it may soon be changing significantly.)
It doesn't seem like a major problem either way, so I expect high core
team work load to leave it as is.
--
Ticket URL: <https://code.djangoproject.com/ticket/18858#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.