Commit 40727e03 by Patrick Altman

fixed bug in not handling external_urls defined

parent 025534a8
...@@ -34,6 +34,9 @@ class Command(NoArgsCommand): ...@@ -34,6 +34,9 @@ class Command(NoArgsCommand):
print print
for name, js in settings.COMPRESS_JS.items(): for name, js in settings.COMPRESS_JS.items():
if 'external_urls' in js:
u, version = False, "External"
else:
u, version = needs_update(js['output_filename'], u, version = needs_update(js['output_filename'],
js['source_filenames']) js['source_filenames'])
......
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