Update doc string.

This commit is contained in:
Christopher Ramírez 2013-08-07 09:25:23 -06:00
parent c81d5768aa
commit 74175c570a

View file

@ -68,17 +68,19 @@ def pad_string(value, length=5):
class Render(object): class Render(object):
""" """
Main engine to convert and ODT document into a jinja Main engine to convert and ODT document into a jinja
compatible template. Render provides an enviroment compatible template.
variable which can be manipulated to provide custom
filters to the ODF render.
engine = Render('template.odt')
engine.environment.filters['custom_filer'] = filter_function
result = engine.render()
Basic use example: Basic use example:
engine = Render('template') engine = Render('template')
result = engine.render() result = engine.render()
Render provides an enviroment variable which can be used
to provide custom filters to the ODF render.
engine = Render('template.odt')
engine.environment.filters['custom_filer'] = filter_function
result = engine.render()
""" """