On May 13, 2007, at 3:31 PM, Chris Perkins wrote:
>
> I have put this in my config/environment.py, but it seems to have no
> effect:
>
> def makoify(s):
> return s.replace('<mako:','<%').replace('</mako:','</%')
> tmpl_options['mako.preprocessor'] = makoify
>
> Is this option supported? I'm not sure what code to look in to find
> the answer.
yes, that should work as far as the mako side of things (tgplugin
should be passing it on, etc). I have observed that Toscawidgets
uses its own TemplateLookup distinct from that of the main Pylons
lookup so you might want to look if something like that is going on.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---