re-implementing default documented behaviour for uncompressable files, fixes #241 #246

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@ogirardot

Hi,
this is an attempted fix that works for me in production and that reproduce the documented behaviour of old django-compressor releases.
I think this behaviour is the good one, because in the case of (for example) 500/404/... pages we don't have access to STATIC_URL or other variables, and adding default valued urls that can be uncompressable is mandatory.

Open for discussion as usual,
Regards,

Olivier.

@diox

Sorry, this was changed on purpose, we shouldn't hide errors, even if DEBUG is False.

@diox diox closed this May 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment