[Grok-dev] template association - suboptimal magic?

Martijn Faassen faassen at startifact.com
Wed Sep 10 06:43:54 EDT 2008


Hey,

Lennart Regebro wrote:
> On Fri, Sep 5, 2008 at 10:35, Jan-Wijbrand Kolman <janwijbrand at gmail.com> wrote:
[snip]
>> Just to be clear: it won't break in my proposal, since I propose to
>> still look in x_templates by default for the templates unless overridden
>> by a grok.templatedir() in the module.
> 
> Wait, weren't you suggesting that we have grok.template() on
> everything? Then I might misunderstood. If it doesn't break, but
> solves the problem, I'm +1. :)

Yeah, that was my impression too, which is why I suggested the tweak 
that 'grok.template' has default behavior as it does now even when it's 
left out.

I'm +1 to the proposal if we have a default for missing grok.template() 
that behaves like it does now.

Regards,

Martijn



More information about the Grok-dev mailing list