jezdez/django_compressor — pull request #167 by matthewwithanm (2011-11-27 20:30:18+00:00)
Title: Uses templates specified by attributes

With this change, `Compressor`'s `render_content()` will use the templates defined in the the `template_name` and `template_name_*` properties of the compressor class. That way subclasses can define their own template locations without having to override `render_content()`.

I left the old behavior in as a fallback in case any third parties are implementing custom compressors without `template_name*` attributes.