Skip to content
Snippets Groups Projects
Commit ddecb010 authored by Martin Mareš's avatar Martin Mareš
Browse files

Upgrade Jinjy: Verze 3.x registruje rozšíření jinak

parent ed721837
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ from mo.web.util import user_html_flags ...@@ -18,7 +18,7 @@ from mo.web.util import user_html_flags
# Konfigurace Jinjy # Konfigurace Jinjy
app.jinja_options['extensions'].append('jinja2.ext.do') app.jinja_env.add_extension('jinja2.ext.do')
app.jinja_env.lstrip_blocks = True app.jinja_env.lstrip_blocks = True
app.jinja_env.trim_blocks = True app.jinja_env.trim_blocks = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment