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:
Anders Kaseorg 2022-01-13 18:38:40 -08:00 committed by Tim Abbott
parent 6e00d6f97a
commit 5bb8520c82
1 changed files with 0 additions and 1 deletions

View File

@ -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",