Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

enable css minification

Roman Pavlov237d12d1efbc
diff --git a/wger/settings_global.py b/wger/settings_global.py
index 16ac6ffe8..5f05422bf 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -297,6 +297,10 @@ STATIC_URL = '/static/'
# The default is not DEBUG, override if needed
# COMPRESS_ENABLED = True
+COMPRESS_CSS_FILTERS = (
+ 'compressor.filters.css_default.CssAbsoluteFilter',
+ 'compressor.filters.cssmin.rCSSMinFilter'
+)
COMPRESS_ROOT = STATIC_ROOT
# BOWER components route