Commit 4cee21a4 by Sander Smits

added settings.COMPRESS_VERSION_METHOD to needs_update function call

parent f40c453d
...@@ -41,7 +41,8 @@ class CompressedCSSNode(template.Node): ...@@ -41,7 +41,8 @@ class CompressedCSSNode(template.Node):
version = None version = None
if settings.COMPRESS_AUTO: if settings.COMPRESS_AUTO:
u, version = needs_update(css['output_filename'], css['source_filenames']) u, version = needs_update(css['output_filename'],
css['source_filenames'], settings.COMPRESS_VERSION_METHOD)
if u: if u:
filter_css(css) filter_css(css)
...@@ -71,7 +72,8 @@ class CompressedJSNode(template.Node): ...@@ -71,7 +72,8 @@ class CompressedJSNode(template.Node):
version = None version = None
if settings.COMPRESS_AUTO: if settings.COMPRESS_AUTO:
u, version = needs_update(js['output_filename'], js['source_filenames']) u, version = needs_update(js['output_filename'],
js['source_filenames'], settings.COMPRESS_VERSION_METHOD)
if u: if u:
filter_js(js) filter_js(js)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment