From 37f747ec0e1be439efd68ac665033ca6adb54218 Mon Sep 17 00:00:00 2001 From: Forest Gregg Date: Thu, 2 Nov 2023 13:55:26 -0400 Subject: [PATCH] bool would be proud --- asset_dashboard/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asset_dashboard/settings.py b/asset_dashboard/settings.py index 5d89ed9..7975048 100644 --- a/asset_dashboard/settings.py +++ b/asset_dashboard/settings.py @@ -182,7 +182,7 @@ COMPRESS_ENABLED = True # Only use online compression when we are developing locally and debug is on -COMPRESS_OFFLINE = not DEBUG and not DEPLOYMENT_ID +COMPRESS_OFFLINE = not (DEBUG and not DEPLOYMENT_ID) # Make sure Django compressor can generate static paths COMPRESS_OFFLINE_CONTEXT = {'static': static}