Skip to content

Commit 7e0bf0c

Browse files
committed
Update readme
1 parent 2ab3905 commit 7e0bf0c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

CHANGES.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ CHANGES
44
0.15.0 (2017-xx-xx)
55
-------------------
66

7-
-
7+
- Enable async support feature available in Jinja 2.9 #152
88

9-
-
10-
11-
-
129

1310
0.13.0 (2016-12-14)
1411
-------------------

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ Before template rendering you have to setup *jinja2 environment* first::
4545
loader=jinja2.FileSystemLoader('/path/to/templates/folder'))
4646

4747

48+
49+
`Async rendering feature <http://jinja.pocoo.org/docs/2.9/api/#async-support>`_
50+
is enabled by default. You *might want* to disable that providing ``enable_async=False``
51+
keyword argument to ``setup`` method.
52+
4853
After that you may to use template engine in your *web-handlers*. The
4954
most convenient way is to decorate a *web-handler*.
5055

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
def read(f):
1616
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
1717

18-
install_requires = ['aiohttp>=0.20', 'jinja2>=2.7']
18+
install_requires = ['aiohttp>=0.20', 'jinja2>=2.9']
1919
tests_require = install_requires + ['nose']
2020

2121

0 commit comments

Comments
 (0)