Permalink
Browse files

Enable jinja2 loopcontrols extension

  • Loading branch information...
1 parent 017013b commit 8b1c3e35774eb730c44f3a3674cf04f8b3a965a9 @irvingpop committed Jan 6, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/application/__init__.py
@@ -10,6 +10,9 @@
app = Flask('application')
app.config.from_object('application.settings')
+# Enable jinja2 loop controls extension
+app.jinja_env.add_extension('jinja2.ext.loopcontrols')
+
# Enable profiler (enabled in non-production environ only)
GAEMiniProfiler(app)

0 comments on commit 8b1c3e3

Please sign in to comment.