Make compression dependent on runserver, not on DEBUG

This commit is contained in:
Raphael Michel
2016-02-17 17:08:23 +01:00
parent 2083d95058
commit 560132072d

View File

@@ -271,7 +271,7 @@ COMPRESS_PRECOMPILERS = (
('text/less', 'pretix.helpers.lessabsolutefilter.LessFilter'),
)
COMPRESS_ENABLED = COMPRESS_OFFLINE = not DEBUG
COMPRESS_ENABLED = COMPRESS_OFFLINE = not debug_fallback
COMPRESS_CSS_FILTERS = (
'compressor.filters.css_default.CssAbsoluteFilter',