[Grok-dev] Sharing a common template layout?

Jan-Wijbrand Kolman janwijbrand at gmail.com
Thu Jan 18 03:33:08 EST 2007

> Is there a Grok way to share a common template layout?

One thing you can do is to use the grok.templatedir(...) directive on
a module level. So say you have a module 'bar.py' and a template
directory called 'foo' with and 'index.pt' in it, in bar.py you can

import grok

Jan-Wijbrand Kolman

More information about the Grok-dev mailing list