Skip to content

Commit fcbe251

Browse files
committed
Allow deactivating django compressor
1 parent 0381341 commit fcbe251

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extras/docker/production/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137

138138
# Folder for compressed CSS and JS files
139139
COMPRESS_ROOT = STATIC_ROOT
140+
COMPRESS_ENABLED = env.bool('COMPRESS_ENABLED', not DEBUG)
140141

141142
# The site's domain as used by the email verification workflow
142143
EMAIL_PAGE_DOMAIN = SITE_URL

0 commit comments

Comments
 (0)