jinja2.sandbox.SandboxedEnvironment.get_or_select_template¶
-
SandboxedEnvironment.
get_or_select_template
(template_name_or_list, parent=None, globals=None)¶ Does a typecheck and dispatches to
select_template()
if an iterable of template names is given, otherwise toget_template()
.New in version 2.3.