2👍
✅
The problem was the memchached, disabling it, Django showed problems of permissions and to minify the css I had to select a filter like compressor.filters.cssmin.CSSMinFilter
43👍
Django compressor will not run on the django server even with DEBUG = False
. It also by default only will merge all your css files into one. To do other things like minify you can apply a filter. Here is what I did in my settings.py
COMPRESS_ENABLED = True
COMPRESS_CSS_FILTERS = ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.CSSMinFilter']
I think this will be helpful for others. Cheers!
- How to display a list of objects containing many-to-many relations in Django template?
- How to run tests django rest framework tests?
- Request.FILES always empty on file upload
Source:stackexchange.com