From e04a96108b78b014a085c6883d55a21a8dcd1a84 Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Thu, 17 Jun 2021 01:13:52 +0200 Subject: [PATCH] Drop JINJA_EXTENSIONS Fix #268 --- templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 0da863e..6632f79 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,4 +1,4 @@ -{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions and 'jinja2.ext.i18n' not in JINJA_EXTENSIONS %} +{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions %} {%- macro _(msg) -%} {{ msg % kwargs }} {%- endmacro -%}