Permalink
Browse files

Another reference

  • Loading branch information...
1 parent c889d32 commit 2a590efdc8f3c9a95727a56cde036499e47f800e @mitsuhiko mitsuhiko committed Jan 29, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −1 docs/api.rst
  2. +2 −0 jinja2/environment.py
View
@@ -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
View
@@ -633,6 +633,8 @@ def list_templates(self, extensions=None, filter_func=None):
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:

0 comments on commit 2a590ef

Please sign in to comment.