New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Settings' object has no attribute 'COMPRESSORS' #1207
Comments
Facing the same issue with Django==3.2.* |
I don't suppose either of you could paste (at the relevant part) of a stack trace could you please? |
Sorry for late answer. Just returned to test this package again. Seems like the issue is not in this package (maybe appconf?).
If I add
... and so on. |
Do we need to add |
Are we even sure that compressor was installed correctly? (Do we have a reproduce?) |
Compressor handles that setting (or others) not being set. The typical issue that can happen is that the settings file has imports causing django to start initializing the apps before the settings are ready. |
I just hit this as well and I spent some time trying to figure out what's going on. In my case, compressor doesn't play well with django-configurations. At least when I call |
Looks like jazzband/django-configurations#167 then. |
I followed the remote storages documentation and set all the settings mentioned.
I already have the quickstart settings, but I'm unsure why
django_compressor
is not working.I've reviewed all the required settings and reinstalled the packages, but I need to figure out what I'm missing.
Here are my versions:
The text was updated successfully, but these errors were encountered: