jezdez/django_compressor — pull request #209 by bartek (2012-02-08 19:15:54+00:00)
Title: Templatetag should fail silently, rendering original context.

I believe this is beneficial over raising an error for a use case where you have a multi-server deployment and a single shared media server (This may not be the most common setup, but I believe it is common overall.)

In a deploy, the manifest.json will become out of sync with compress blocks (if modified) and while a deploy is happening, the hash keys will not match up.

You may feel this is out of the scope of django_compressor, as we should simply handle our deploy differently (e.g. taking servers out of rotation) but also feel this would save some headache for many people with a similar setup.

I would be a fan of importing the logging library and sending a warning in the cause of key failure. This adds no dependencies of course, as it'd use the built-in python logger.