jinja2.Template.render¶
-
Template.
render
(*args, **kwargs)[source]¶ This method accepts the same arguments as the dict constructor: A dict, a dict subclass or some keyword arguments. If no arguments are given the context will be empty. These two calls do the same:
template.render(knights='that say nih') template.render({'knights': 'that say nih'})
This will return the rendered template as unicode string.