On Fri, Oct 17, 2008 at 9:08 AM, Pradeep Kishore Gowda
<[EMAIL PROTECTED]> wrote:
> On Fri, Oct 17, 2008 at 9:00 AM, Bibby <[EMAIL PROTECTED]> wrote:
>>
>> webpy use '.html' as default template file extension, why not use
>> '.mako' ('.tmpl' or whatever) for Mako template engine? it's easy to
>> know what template engine it used.
>
> You can override the __getattr__ method of
> web.contrib.template.render_mako to achieve that.
>See this: http://dpaste.com/85078/ . I have used jinja because I already had a sandbox setup using it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
