Skip to content
Myr

Another reference

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent c889d32 · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:docs/api.rst+1 added-1 removed
115 unmodified lines
116117.. autoclass:: Environment([options])118 :members: from_string, get_template, select_template,119 get_or_select_template, join_path, extend, compile_expression,120 compile_templates120 compile_templates, list_templates121122 .. attribute:: shared123124 If a template was created by using the :class:`Template` constructor
666 unmodified lines
modified:jinja2/environment.py+2 added
631 unmodified lines
632 is passed a template name and should return `True` if it should end up633 in the result list.634635 If the loader does not support that, a :exc:`TypeError` is raised.636637 .. versionadded:: 2.4638 """639 x = self.loader.list_templates()640 if extensions is not None:641 if filter_func is not None:
480 unmodified lines