#694: [patch] TEMPLATE_DIRS should allow project root relative paths
--------------------------------------+-------------------------------------
Reporter: nirvdrum | Owner: adrian
Status: reopened | Milestone:
Component: Template system | Version:
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by sio4):
* status: closed => reopened
* resolution: wontfix =>
Comment:
I'm newbie to django, and this page is the result of one of my few
searches about django. It means, IMHO, maybe many newbies can confuse on
this issue like me.
my question is: "why we should use relative path for templates directory
setting? It is always same in relative(for many cases) but it is different
in absolute.(and how many times is it placed on outside of project?) then
why we all do add three same lines into settings.py everytime? (import os,
project_path=..., os.path.join...)" can I get some reasonable reason?
"app_directories template loader" is not a good solution because the
look&feel is site specific rather than application specific.
(app_directories template loader is usefull for drop-in applications
instead.)
please excuse my poor English. thank you for your consideration.
--
Ticket URL: <http://code.djangoproject.com/ticket/694#comment:7>
Django <http://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
-~----------~----~----~----~------~----~------~--~---