File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 4
4
0.15.0 (2017-xx-xx)
5
5
-------------------
6
6
7
- -
7
+ - Enable async support feature available in Jinja 2.9 #152
8
8
9
- -
10
-
11
- -
12
9
13
10
0.13.0 (2016-12-14)
14
11
-------------------
Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ Before template rendering you have to setup *jinja2 environment* first::
45
45
loader=jinja2.FileSystemLoader('/path/to/templates/folder'))
46
46
47
47
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
+
48
53
After that you may to use template engine in your *web-handlers *. The
49
54
most convenient way is to decorate a *web-handler *.
50
55
Original file line number Diff line number Diff line change 15
15
def read (f ):
16
16
return open (os .path .join (os .path .dirname (__file__ ), f )).read ().strip ()
17
17
18
- install_requires = ['aiohttp>=0.20' , 'jinja2>=2.7 ' ]
18
+ install_requires = ['aiohttp>=0.20' , 'jinja2>=2.9 ' ]
19
19
tests_require = install_requires + ['nose' ]
20
20
21
21
You can’t perform that action at this time.
0 commit comments