adapt to new migdal and fnpdjango
[prawokultury.git] / prawokultury / settings.d / 50-static.py
index 3f5f951..031658c 100644 (file)
@@ -9,7 +9,7 @@ STATICFILES_FINDERS = (
 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
 )
 
-STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
+STATICFILES_STORAGE = 'fnpdjango.pipeline_storage.GzipPipelineCachedStorage'
 PIPELINE_CSS_COMPRESSOR = None
 PIPELINE_JS_COMPRESSOR = None
 PIPELINE_CSS = {
@@ -27,17 +27,32 @@ PIPELINE_CSS = {
           'css/prevnext.scss',
           'css/forms.scss',
           'events/events.scss',
+          'fnpdjango/annoy/annoy.css',
         ),
         'output_filename': 'compressed/base.css',
     },
+    'questions': {
+        'source_filenames': (
+            'questions/tagcloud.scss',
+        ),
+        'output_filename': 'compressed/questions.css'
+    }
 }
 PIPELINE_JS = {
     'base': {
         'source_filenames': (
             'js/promobox.js',
+            'shop/shop.js',
+            'fnpdjango/annoy/annoy.js',
         ),
         'output_filename': 'compressed/base.js',
     },
+    'questions': {
+        'source_filenames': (
+            'questions/tagcloud.js',
+        ),
+        'output_filename': 'compressed/questions.js'
+    }
 }
 
 PIPELINE_COMPILERS = (