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