Actually show which COMPRESS_CSS_HASHING_METHOD has been found in the settings.

This commit is contained in:
Jannis Leidel
2012-02-14 12:34:23 +01:00
parent 1920bd7de5
commit 027878a70f

View File

@@ -68,7 +68,8 @@ class CssAbsoluteFilter(FilterBase):
suffix = get_hashed_content(filename)
else:
raise FilterError('COMPRESS_CSS_HASHING_METHOD is configured '
'with an unknown method (%s).')
'with an unknown method (%s).' %
settings.COMPRESS_CSS_HASHING_METHOD)
if suffix is None:
return url
if url.startswith(('http://', 'https://', '/')):