From 76c5454fc4fc167968ee63026a6f057ffe7e278c Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Fri, 26 Apr 2024 15:37:19 +0200 Subject: [PATCH] [mailman3] Enable compression of static files Signed-off-by: Michal Konecny --- roles/mailman3/templates/settings.py.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/mailman3/templates/settings.py.j2 b/roles/mailman3/templates/settings.py.j2 index 49cb1e26bd..21a051ad76 100644 --- a/roles/mailman3/templates/settings.py.j2 +++ b/roles/mailman3/templates/settings.py.j2 @@ -286,6 +286,7 @@ GRAVATAR_DEFAULT_SECURE = True # django-compressor # https://pypi.python.org/pypi/django_compressor # +COMPRESS_ENABLED = True COMPRESS_PRECOMPILERS = ( ('text/less', 'lessc {infile} {outfile}'), ('text/x-scss', 'sassc -t compressed {infile} {outfile}'),