Lines Matching refs:names
914 names = self.loader.list_templates()
926 names = [name for name in names if filter_func(name)]
928 return names
1015 names: t.Iterable[t.Union[str, "Template"]],
1019 """Like :meth:`get_template`, but tries loading multiple names.
1020 If none of the names can be loaded a :exc:`TemplatesNotFound`
1023 :param names: List of template names to try loading in order.
1037 If ``names`` is :class:`Undefined`, an :exc:`UndefinedError`
1038 is raised instead. If no templates were found and ``names``
1042 If ``names`` contains a :class:`Template` object it is
1047 if isinstance(names, Undefined):
1048 names._fail_with_undefined_error()
1050 if not names:
1055 for name in names:
1064 raise TemplatesNotFound(names) # type: ignore
1075 """Use :meth:`select_template` if an iterable of template names
1516 """Represents an imported template. All the exported names of the