From a96beaa19707b72a54a7b5554735d4e6f021cf11 Mon Sep 17 00:00:00 2001 From: Mike Olund Date: Tue, 21 Mar 2017 11:50:45 -0700 Subject: [PATCH] Re-enabled static asset compression --- edivorce/settings/openshift.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/edivorce/settings/openshift.py b/edivorce/settings/openshift.py index d8e569dc..93cd6343 100644 --- a/edivorce/settings/openshift.py +++ b/edivorce/settings/openshift.py @@ -37,9 +37,9 @@ DATABASES = { WEASYPRINT_URL = 'http://weasyprint:5001' WEASYPRINT_CSS_LOOPBACK = 'http://edivorce-django:8080' -# Django Compressor offline compression (triggered by setup.py during OpenShift build) -COMPRESS_ENABLED = False -# COMPRESS_OFFLINE = True +# Django Compressor offline compression (triggered by wsgi.py during OpenShift deployment) +COMPRESS_ENABLED = True +COMPRESS_OFFLINE = True # The app will be served out of a subdirectory of justice.gov.bc.ca # PROD: /divorce