projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e68d4c6
)
More extensions in jinja debug
author
Armin Ronacher
<armin.ronacher@active-4.com>
Tue, 24 May 2011 14:40:09 +0000
(16:40 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Tue, 24 May 2011 14:40:09 +0000
(16:40 +0200)
jinja2-debug.py
patch
|
blob
|
history
diff --git
a/jinja2-debug.py
b/jinja2-debug.py
index c9c482f109402dcadbd51bb91a5d9a46049605f9..80bbc628a050ee9f77cafa1fc4d140452c169d79 100755
(executable)
--- a/
jinja2-debug.py
+++ b/
jinja2-debug.py
@@
-14,7
+14,10
@@
import jinja2
from werkzeug import script
env = jinja2.Environment(extensions=['jinja2.ext.i18n', 'jinja2.ext.do',
- 'jinja2.ext.loopcontrols'])
+ 'jinja2.ext.loopcontrols',
+ 'jinja2.ext.with_',
+ 'jinja2.ext.autoescape'],
+ autoescape=True)
def shell_init_func():
def _compile(x):