[Grok-dev] Template directories
tim.terlegard at valentinewebsystems.se
Wed Jun 25 06:34:08 EDT 2008
I wonder what people think about the current directory layout for
What about adding a global template directory?
A global template directory is useful when you have for instance a
that is referred to from any module. For small applications it might
overkill with a bunch of <module>_templates directories with one or two
templates in each. It would be nice if I could put my templates in a
template directory if I want to.
When a template is looked up caused by a grok.template() directive,
it could first look inside <module>_templates if it exists, if it's
it could check the global templates directory.
Any thoughts on this?
More information about the Grok-dev