...
 
Commits (3)
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"
......@@ -26,7 +26,7 @@ uWSGI = "~2.0"
django-bootstrap4 = "~1.1.0"
firebase-admin = "~3.2"
sentry-sdk = "~0.14.0"
django-sendfile2 = "~0.4.2"
django-sendfile2 = "~0.5.0"
# docs requirements
recommonmark = { version = "~0.6.0", optional = true }
......
......@@ -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
......