You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a result of django-compressor/django-compressor#226. The symptom is that any assets referenced via "url(...)" in a css/sass file will not resolve correctly when running in DEBUG=True.
A clumsy workaround is to symlink "img" and "fonts" static directories into site_static/CACHE:
cd site_static/CACHE/
ln -s ../../static/img .
ln -s ../../static/fonts .
This problem should not exist when you're in production mode.
The text was updated successfully, but these errors were encountered:
As a "workaround" I set the "COMPRESS_OUTPUT_DIR" to an empty string. I could not verify, that this will not introduce other problems though, but it helped in my particular situation (not using btb btw.).
COMPRESS_OUTPUT_DIR=''
Furthermore this obviously does not resolve the real issue with compressor.
This is a result of django-compressor/django-compressor#226. The symptom is that any assets referenced via "url(...)" in a css/sass file will not resolve correctly when running in DEBUG=True.
A clumsy workaround is to symlink "img" and "fonts" static directories into
site_static/CACHE
:This problem should not exist when you're in production mode.
The text was updated successfully, but these errors were encountered: