it doesnt do any precompiling?

On Fri, Apr 11, 2008 at 1:42 PM, krishna2 <[EMAIL PROTECTED]> wrote:

>
>
> I guess, you could also do :
>
> import web.cheetah
>
> web.cheetah.render('file.tmpl')
>
> simpler...
>
>
> On Apr 11, 12:55 pm, krishna2 <[EMAIL PROTECTED]> wrote:
> > Try this :
> >
> > from Cheetah.Template import Template
> >
> > print Template(file="templates/file.tmpl", searchList=[locals()])
> >
> > that should do the trick.
> >
> > hth,
> > krishna
> >
> > On Mar 13, 5:57 am, mobil <[EMAIL PROTECTED]> wrote:
> >
> > > code.py
> > > web.render = web.contrib.template.render_cheetah('templates')
> > > this doesnt work
> >
> > > How do we use cheetah
> > > as web.render as we used in .2
> >
> > > or how to use
> >
> > > return web.render('file.html',asTemplate=True)
> >
> > > thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to