Notes about upcoming Django Compressor upgrade

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_COMPRESSOR has been removed since django-compressor 3.0
  • COMPRESS_FILTERS should have both 'css' and 'js' specified in the dict or python manage.py compress will throw an obscure CommandError

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.