Opened 18 years ago

Last modified 11 years ago

#694 closed enhancement

TEMPLATE_DIRS should allow project root relative paths — at Initial Version

Reported by: nirvdrum Owned by: Adrian Holovaty
Component: Template system Version: dev
Severity: normal Keywords:
Cc: sorin, moeffju Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Many people develop their projects on one machine and deploy on another. The two (or more) different computers may not have the same filesystem layout and may not even be running the same OS. As such, it'd be nice if the requirement for absolute paths could be eliminated.

For my current django project, I have something like:

project/

apps/
templates/

It'd be nice if the templates directory could be specified relative to the project root.

Change History (0)

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