On Mon, Jun 9, 2008 at 12:55 PM, Bibby <[EMAIL PROTECTED]> wrote:
>
> I used bzr to get the lastest version of webpy, and installed Cheetah.
> But how can i make them work together?

Try this:

from web.contrib.template import render_cheetah
render = render_cheetah("templates/")

class hello:
    def GET(self):
        return render.hello(name="world")

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