Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a bug in add_extension

branch : trunk
  • Loading branch information...
commit ec25a0c3bbbbecdcbd48b113c09164e7961422d6 1 parent 78efe74
@mitsuhiko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jinja2/
2  jinja2/
@@ -284,7 +284,7 @@ def add_extension(self, extension):
.. versionadded:: 2.5
- load_extensions(self, [extension])
+ self.extensions.update(load_extensions(self, [extension]))
def extend(self, **attributes):
"""Add the items to the instance of the environment if they do not exist
Please sign in to comment.
Something went wrong with that request. Please try again.