mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Make compression dependent on runserver, not on DEBUG
This commit is contained in:
@@ -271,7 +271,7 @@ COMPRESS_PRECOMPILERS = (
|
|||||||
('text/less', 'pretix.helpers.lessabsolutefilter.LessFilter'),
|
('text/less', 'pretix.helpers.lessabsolutefilter.LessFilter'),
|
||||||
)
|
)
|
||||||
|
|
||||||
COMPRESS_ENABLED = COMPRESS_OFFLINE = not DEBUG
|
COMPRESS_ENABLED = COMPRESS_OFFLINE = not debug_fallback
|
||||||
|
|
||||||
COMPRESS_CSS_FILTERS = (
|
COMPRESS_CSS_FILTERS = (
|
||||||
'compressor.filters.css_default.CssAbsoluteFilter',
|
'compressor.filters.css_default.CssAbsoluteFilter',
|
||||||
|
|||||||
Reference in New Issue
Block a user