Hi, everyone. We will be upgrading django-compressor from 2.4 to 4.1 in the next few days.
If you haven't modified the compressor settings in settings.py, then you should be good to go. However, if you've added something like COMPRESS_JS_COMPRESSOR or COMPRESS_FILTERS to localsettings.py this message is for you.
Please note that:
-
COMPRESS_JS_COMPRESSORhas been removed sincedjango-compressor3.0 -
COMPRESS_FILTERSshould have both'css'and'js'specified in the dict orpython manage.py compresswill throw an obscureCommandError
The defaults specified in settings.py for COMPRESS_FILTERS should be just fine moving forward.
Thanks!
NOTE: This is only to help troubleshoot developer installs where these settings have been modified in localsettings.py. Production installs that use the defaults provided in settings.py should be unaffected.