render(template, terms=None, asTemplate=False, base=None, isString=False): : Renders a template, caching where it can.
`template` is the name of a file containing the a template in the `templates/` folder
`terms` is a dictionary used to fill the template. If it's None, then the caller's local variables are used instead, plus context, if it's not already set, is set to `context`. Meaning: explicitly pass terms=locals() to reduce the amount of magic going on.
update: I like CherryPy and Mako better than web.py now.