mirror of https://github.com/zulip/zulip.git
computed_settings: Remove deprecated Jinja2 autoescape extension.
It’s built in to Jinja2 as of 2.9. Fixes “DeprecationWarning: The 'autoescape' extension is deprecated and will be removed in Jinja 3.1. This is built in now.” Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
6e00d6f97a
commit
5bb8520c82
|
@ -627,7 +627,6 @@ base_template_engine_settings: Dict[str, Any] = {
|
||||||
"environment": "zproject.jinja2.environment",
|
"environment": "zproject.jinja2.environment",
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"jinja2.ext.i18n",
|
"jinja2.ext.i18n",
|
||||||
"jinja2.ext.autoescape",
|
|
||||||
],
|
],
|
||||||
"context_processors": [
|
"context_processors": [
|
||||||
"zerver.context_processors.zulip_default_context",
|
"zerver.context_processors.zulip_default_context",
|
||||||
|
|
Loading…
Reference in New Issue