From 2a590efdc8f3c9a95727a56cde036499e47f800e Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sat, 29 Jan 2011 20:29:00 +0100 Subject: [PATCH] Another reference --- docs/api.rst | 2 +- jinja2/environment.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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: -- 2.26.2