web.web.contrib.template.render_genshi

Package web :: Package web :: Package contrib :: Module template :: Class render_genshi |
[hide private]
[frames] | no frames]

# Class render_genshi

source code

    Rendering interface genshi templates.
    Example:

    for xml/html templates.

        render = render_genshi(['templates/'])
        render.hello(name='genshi')

    For text templates:

        render = render_genshi(['templates/'], type='text')
        render.hello(name='genshi')

Instance Methods | [hide private]
__init__(self, *a, **kwargs) | source code
__getattr__(self, name) | source code