#16504: PROJECT_ROOT ought to be a built-in django settings ref
-------------------------+------------------------------
 Reporter:  pydanny      |          Owner:  nobody
     Type:  New feature  |         Status:  new
Milestone:  1.4          |      Component:  Core (Other)
  Version:  1.3          |       Severity:  Normal
 Keywords:               |   Triage Stage:  Unreviewed
Has patch:  0            |  Easy pickings:  0
    UI/UX:  0            |
-------------------------+------------------------------
 I see this used by a lot of people in a lot of projects. For experience
 developers they figure it out on their own. Beginning developers often
 miss it and hard code all their paths. This becomes a problem on
 deployment.

 {{{
 #!python

 import os.path
 PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
 }}}

 Possible alternative solution: Add this to an as-of-yet Django best
 practices page.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16504>
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 this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to