Dodanie COMPRESS_VERSION do settings.py.
authorMarek Stępniowski <marek@stepniowski.com>
Sat, 30 Jan 2010 22:21:42 +0000 (23:21 +0100)
committerMarek Stępniowski <marek@stepniowski.com>
Sat, 30 Jan 2010 22:21:42 +0000 (23:21 +0100)
wolnelektury/settings.py

index d1e09e3..0a3f065 100644 (file)
@@ -133,14 +133,15 @@ COMPRESS_JS = {
         'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js', 
             'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js',
             'js/jquery.cookie.js',),
         'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js', 
             'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js',
             'js/jquery.cookie.js',),
-        'output_filename': 'js/all.min.js',
+        'output_filename': 'js/all?.min.js',
     },
     'book': {
         'source_filenames': ('js/jquery.eventdelegation.js', 'js/jquery.scrollto.js', 'js/jquery.highlightfade.js', 'js/book.js',),
     },
     'book': {
         'source_filenames': ('js/jquery.eventdelegation.js', 'js/jquery.scrollto.js', 'js/jquery.highlightfade.js', 'js/book.js',),
-        'output_filename': 'js/book.min.js',
+        'output_filename': 'js/book?.min.js',
     }
 }
 
     }
 }
 
+COMPRESS_VERSION = True
 COMPRESS_CSS_FILTERS = None
 
 THUMBNAIL_QUALITY = 95
 COMPRESS_CSS_FILTERS = None
 
 THUMBNAIL_QUALITY = 95