Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More extensions in jinja debug

  • Loading branch information...
commit 067879e541d1030283d52099dbd1f7c24f2a4451 1 parent e68d4c6
@mitsuhiko authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 jinja2-debug.py
View
5 jinja2-debug.py
@@ -14,7 +14,10 @@
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):
Please sign in to comment.
Something went wrong with that request. Please try again.