From: Armin Ronacher Date: Sat, 29 Jan 2011 19:29:00 +0000 (+0100) Subject: Another reference X-Git-Tag: 2.6~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a590efdc8f3c9a95727a56cde036499e47f800e;p=jinja2.git Another reference --- diff --git a/docs/api.rst b/docs/api.rst index 541a443..5492414 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -117,7 +117,7 @@ useful if you want to dig deeper into Jinja2 or :ref:`develop extensions .. autoclass:: Environment([options]) :members: from_string, get_template, select_template, get_or_select_template, join_path, extend, compile_expression, - compile_templates + compile_templates, list_templates .. attribute:: shared diff --git a/jinja2/environment.py b/jinja2/environment.py index 095329e..7a9a59f 100644 --- a/jinja2/environment.py +++ b/jinja2/environment.py @@ -633,6 +633,8 @@ class Environment(object): in the result list. If the loader does not support that, a :exc:`TypeError` is raised. + + .. versionadded:: 2.4 """ x = self.loader.list_templates() if extensions is not None: