OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | DispatchingJinjaLoader |
class | Environment |
Functions | |
def | render_template (template_name_or_list, **context) |
def | render_template_string (source, **context) |
def flask.templating.render_template | ( | template_name_or_list, | |
** | context | ||
) |
Renders a template from the template folder with the given context. :param template_name_or_list: the name of the template to be rendered, or an iterable with template names the first one existing will be rendered :param context: the variables that should be available in the context of the template.
def flask.templating.render_template_string | ( | source, | |
** | context | ||
) |
Renders a template from the given template source string with the given context. Template variables will be autoescaped. :param source: the source code of the template to be rendered :param context: the variables that should be available in the context of the template.