fix csv export of contact forms
[edumed.git] / edumed / settings.d / 50-static.py
index 35aabe2..c667c32 100644 (file)
@@ -9,7 +9,7 @@ STATICFILES_FINDERS = (
 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
 )
 
 #    '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 = {
 PIPELINE_CSS_COMPRESSOR = None
 PIPELINE_JS_COMPRESSOR = None
 PIPELINE_CSS = {
@@ -25,6 +25,7 @@ PIPELINE_CSS = {
           'catalogue/css/section_list.scss',
           'curriculum/curriculum.scss',
           'jquery/colorbox/colorbox.css',
           'catalogue/css/section_list.scss',
           'curriculum/curriculum.scss',
           'jquery/colorbox/colorbox.css',
+          'fnpdjango/annoy/annoy.css',
 
           'css/forum.scss',
           'css/mil.scss'
 
           'css/forum.scss',
           'css/mil.scss'
@@ -39,18 +40,24 @@ PIPELINE_JS = {
             'catalogue/js/jquery.cycle.all.js',
             'jquery/colorbox/jquery.colorbox-min.js',
             'jquery/colorbox/jquery.colorbox-pl.js',
             'catalogue/js/jquery.cycle.all.js',
             'jquery/colorbox/jquery.colorbox-min.js',
             'jquery/colorbox/jquery.colorbox-pl.js',
+            'catalogue/js/carousel.js',
             'catalogue/js/edumed.js',
             'catalogue/js/lesson.js',
             'catalogue/js/edumed.js',
             'catalogue/js/lesson.js',
+            'catalogue/js/lesson-list.js',
             'sponsors/js/sponsors.js',
             'curriculum/curriculum.js',
             'js/formset.js',
             'pybb/js/pybbjs.js',
             'sponsors/js/sponsors.js',
             'curriculum/curriculum.js',
             'js/formset.js',
             'pybb/js/pybbjs.js',
+            'fnpdjango/annoy/annoy.js',
         ),
         'output_filename': 'compressed/base.js',
     },
     'wtem': {
         'source_filenames': (
         ),
         'output_filename': 'compressed/base.js',
     },
     'wtem': {
         'source_filenames': (
+            'catalogue/js/jquery-ui-1.10.0.custom.js',
             'wtem/edumed.js',
             'wtem/edumed.js',
+            'wtem/wtem.js',
+            'wtem/json2.js'
         ),
         'output_filename': 'compressed/wtem.js'
     },
         ),
         'output_filename': 'compressed/wtem.js'
     },
@@ -59,5 +66,3 @@ PIPELINE_JS = {
 PIPELINE_COMPILERS = (
   'pipeline.compilers.sass.SASSCompiler',
 )
 PIPELINE_COMPILERS = (
   'pipeline.compilers.sass.SASSCompiler',
 )
-
-PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'