Home | History | Annotate | Download | only in jinja2

Lines Matching refs:filter_func

601     def compile_templates(self, target, extensions=None, filter_func=None,
610 `extensions` and `filter_func` are passed to :meth:`list_templates`.
668 for name in self.list_templates(extensions, filter_func):
695 def list_templates(self, extensions=None, filter_func=None):
703 templates, or a `filter_func` can be provided which is a callable that
713 if filter_func is not None:
714 raise TypeError('either extensions or filter_func '
716 filter_func = lambda x: '.' in x and \
718 if filter_func is not None:
719 x = ifilter(filter_func, x)