fixes #3287: minor styling fixes on main.
[edumed.git] / edumed / settings.d / 50-static.py
index 7cdd26c..f2924eb 100644 (file)
@@ -9,7 +9,7 @@ STATICFILES_FINDERS = (
 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
 )
 
-STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
+STATICFILES_STORAGE = 'fnpdjango.utils.pipeline_storage.GzipPipelineCachedStorage'
 PIPELINE_CSS_COMPRESSOR = None
 PIPELINE_JS_COMPRESSOR = None
 PIPELINE_CSS = {
@@ -50,10 +50,17 @@ PIPELINE_JS = {
         ),
         'output_filename': 'compressed/base.js',
     },
+    'wtem': {
+        'source_filenames': (
+            'catalogue/js/jquery-ui-1.10.0.custom.js',
+            'wtem/edumed.js',
+            'wtem/wtem.js',
+            'wtem/json2.js'
+        ),
+        'output_filename': 'compressed/wtem.js'
+    },
 }
 
 PIPELINE_COMPILERS = (
   'pipeline.compilers.sass.SASSCompiler',
 )
-
-PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'