Skip to content

Commit

Permalink
Bump to 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 24, 2016
1 parent 9d7b21a commit f98e81a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGES
=======

0.11.0 (2016-11-24)
------------------

- Add jinja2 filters support #41

0.10.0 (2016-10-20)
------------------

Expand Down
5 changes: 3 additions & 2 deletions aiohttp_jinja2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from aiohttp.abc import AbstractView


__version__ = '0.10.0'
__version__ = '0.11.0'

__all__ = ('setup', 'get_env', 'render_template', 'template')

Expand All @@ -16,7 +16,8 @@
APP_CONTEXT_PROCESSORS_KEY = 'aiohttp_jinja2_context_processors'


def setup(app, *args, app_key=APP_KEY, context_processors=(), filters=None, **kwargs):
def setup(app, *args, app_key=APP_KEY, context_processors=(),
filters=None, **kwargs):
env = jinja2.Environment(*args, **kwargs)
if filters is not None:
env.filters.update(filters)
Expand Down

0 comments on commit f98e81a

Please sign in to comment.