Re: [Cheetahtemplate-discuss] Some good ideas in Mighty Template, too.
Brought to you by:
rtyler,
tavis_rudd
From: <ms...@oz...> - 2005-08-26 19:52:06
|
Shannon -jj Behrens wrote: > On 8/25/05, Olivier Favre-Simon <oli...@cl...> > wrote: >> Cheetah is great tool, and I'm very satisfied with my current use and >> knowledge of it. >> >> Anyway I was looking at Mighty Template for fun, and even if the <% >> syntax is giving me eczema there are good ideas too in this framework: You can change a couple compiler settings to prevent it from recognizing the Python escapes. #compiler PSPStartToken = '//=' #compiler PSPEndToken = '//-' <% foo %> If you don't like these directives in the template there's a Template constructor arg for them too. Maybe we should have another compiler directive to disable the Python escapes. It's a rarely used feature, and choosing an obscure string to set them to can be inconvenient. -- -- Mike Orr <ms...@oz...> |