Actually show which COMPRESS_CSS_HASHING_METHOD has been found in the settings.
This commit is contained in:
@@ -68,7 +68,8 @@ class CssAbsoluteFilter(FilterBase):
|
|||||||
suffix = get_hashed_content(filename)
|
suffix = get_hashed_content(filename)
|
||||||
else:
|
else:
|
||||||
raise FilterError('COMPRESS_CSS_HASHING_METHOD is configured '
|
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:
|
if suffix is None:
|
||||||
return url
|
return url
|
||||||
if url.startswith(('http://', 'https://', '/')):
|
if url.startswith(('http://', 'https://', '/')):
|
||||||
|
|||||||
Reference in New Issue
Block a user