From fcbe25169171ac8ac2c190f138ff09dcc522de42 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Mon, 28 Oct 2024 19:38:33 +0100 Subject: [PATCH] Allow deactivating django compressor --- extras/docker/production/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/docker/production/settings.py b/extras/docker/production/settings.py index 6f005e2ea..3490c3930 100644 --- a/extras/docker/production/settings.py +++ b/extras/docker/production/settings.py @@ -137,6 +137,7 @@ if os.environ.get("DJANGO_CACHE_BACKEND"): # Folder for compressed CSS and JS files COMPRESS_ROOT = STATIC_ROOT +COMPRESS_ENABLED = env.bool('COMPRESS_ENABLED', not DEBUG) # The site's domain as used by the email verification workflow EMAIL_PAGE_DOMAIN = SITE_URL