Commit 40727e03 by Patrick Altman

fixed bug in not handling external_urls defined

parent 025534a8
......@@ -34,8 +34,11 @@ class Command(NoArgsCommand):
print
for name, js in settings.COMPRESS_JS.items():
u, version = needs_update(js['output_filename'],
js['source_filenames'])
if 'external_urls' in js:
u, version = False, "External"
else:
u, version = needs_update(js['output_filename'],
js['source_filenames'])
if (force or u) or verbosity >= 2:
msg = 'JavaScript Group \'%s\'' % name
......
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