I think prefixing your templates with mako:   will work

I think there's a bug in that genshi is hardcoded in as the default
templating engine.

--Mark

On 7/10/07, Olli Wang <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I tried it already, but it didn't work.
>
> Also, if I add something like "mako:project/templates/index" in
> decorator expose that doesn't work too.
>
> It said I don't have certain file on the path but I did. :(
>
> On Jul 10, 10:13 pm, gasolin <[EMAIL PROTECTED]> wrote:
> > On 7月10日, 下午6時12分, Olli Wang <[EMAIL PROTECTED]> wrote:
> >
> > > Hi, I just switched to TG2 trunk. I hope to use Mako template engine
> > > in my app but don't know how to set up. It seems the setting is
> > > different from original pylons, right?
> >
> > Hi,
> >
> > A quick hack is to change config/environment.py
> >
> > from
> >
> > template_engine='genshi'
> >
> > to
> >
> > template_engine='mako'
> >
> > the setting is the same as pylons at this time, but it may changed to
> > some simpler form
> >
> > --
> > Fred
>
>
> >
>


-- 
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to