Skip to content
Myr

More extensions in jinja debug

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent e68d4c6 · Browse files · 1 file+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:jinja2-debug.py+4 added-1 removed
12 unmodified lines
13import jinja214from werkzeug import script1516env = jinja2.Environment(extensions=['jinja2.ext.i18n', 'jinja2.ext.do',17 'jinja2.ext.loopcontrols'])17 'jinja2.ext.loopcontrols',18 'jinja2.ext.with_',19 'jinja2.ext.autoescape'],20 autoescape=True)2122def shell_init_func():23 def _compile(x):24 print env.compile(x, raw=True)
19 unmodified lines