Another reference
authorArmin Ronacher <armin.ronacher@active-4.com>
Sat, 29 Jan 2011 19:29:00 +0000 (20:29 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sat, 29 Jan 2011 19:29:00 +0000 (20:29 +0100)
docs/api.rst
jinja2/environment.py

index 541a4431bb0b742c0c63314339b887d7b58d1561..5492414b52074b153c9f9ce453ae21a6e7231424 100644 (file)
@@ -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
 
index 095329ee925097ec781a883179778fb5c6ad5af1..7a9a59fce46bd935c4a845f705e7a1631565a858 100644 (file)
@@ -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: