remove unused extension in jinja2

This commit is contained in:
Grigory
2022-04-17 19:44:56 +03:00
parent 2464729940
commit 518f60d6aa

View File

@ -14,7 +14,6 @@ templates = Jinja2Templates(directory=os.path.join(BASE_DIR, "templates"))
templates.env.globals["VERSION"] = VERSION
templates.env.globals["NOW_YEAR"] = date.today().year
templates.env.add_extension("jinja2.ext.i18n")
templates.env.add_extension("jinja2.ext.autoescape")
@pass_context