Commit 2ebc4ee3 authored by Joren Vrancken's avatar Joren Vrancken

Merge branch 'update-django-compressor' into 'master'

Update django-compressor to v2.4.0

See merge request thalia/concrexit!1458
parents e7b82d7c 1e9cf726
This diff is collapsed.
......@@ -18,7 +18,7 @@ django-libsass = "~0.7.0"
python-magic = "~0.4.15"
Django = "~2.2"
Pillow = "~7.0"
django_compressor = "~2.2"
django-compressor = "^2.4"
psycopg2-binary = "~2.8"
bcrypt = "~3.1"
argon2_cffi = "~19.2"
......
......@@ -227,10 +227,12 @@ COMPRESS_ENABLED = True
COMPRESS_PRECOMPILERS = (("text/x-scss", "django_libsass.SassCompiler"),)
COMPRESS_CSS_FILTERS = [
"compressor.filters.css_default.CssAbsoluteFilter",
"compressor.filters.cssmin.rCSSMinFilter",
]
COMPRESS_FILTERS = {
"css": [
"compressor.filters.css_default.CssAbsoluteFilter",
"compressor.filters.cssmin.rCSSMinFilter",
]
}
# Precompiler settings
STATIC_PRECOMPILER_LIST_FILES = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment