On Sat, Apr 19, 2008 at 10:16 AM, Anand Chitipothu
<[EMAIL PROTECTED]> wrote:
> On Sat, Apr 19, 2008 at 10:10 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> > web.render('xx.html') automatically looks for xx.html in 'templates/'
> > directory.
> web.render is there for providing backward-compatibility for rendering
> cheetah templates.
>
> Here is the way to use web.py templates:
>
> render = web.template.render('templates/') # pass your template root as
> argument
> print render.x() # renders x.html
thanks for the reply.
is this going to pass locals() automatically like web.render?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---