pep8, style, dead code cleanup etc.
[redakcja.git] / redakcja / settings / compress.py
index 6143729..decfa16 100644 (file)
@@ -1,7 +1,12 @@
+# -*- coding: utf-8 -*-
+#
+# This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
 STATICFILES_FINDERS = (
     'django.contrib.staticfiles.finders.FileSystemFinder',
     'django.contrib.staticfiles.finders.AppDirectoriesFinder',
-#    'django.contrib.staticfiles.finders.DefaultStorageFinder',
+    # 'django.contrib.staticfiles.finders.DefaultStorageFinder',
 )
 
 
@@ -14,7 +19,7 @@ PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'
 # CSS and JS files to compress
 PIPELINE_CSS = {
     'detail': {
-         'source_filenames': (
+        'source_filenames': (
             'css/master.css',
             'css/toolbar.css',
             'css/gallery.css',
@@ -28,11 +33,13 @@ PIPELINE_CSS = {
     },
     'catalogue': {
         'source_filenames': (
-            'css/filelist.css',
+            # 'css/filelist.css',
+            'css/base.css',
+            'datepicker/css/datepicker.css',
         ),
         'output_filename': 'compressed/catalogue_styles.css',
-     },
-     'book': {
+    },
+    'book': {
         'source_filenames': (
             'css/book.css',
         ),
@@ -89,10 +96,11 @@ PIPELINE_JS = {
                 'js/catalogue/catalogue.js',
                 'js/slugify.js',
                 'email_mangler/email_mangler.js',
+                'datepicker/js/bootstrap-datepicker.js',
         ),
         'output_filename': 'compressed/catalogue_scripts.js',
-     },
-     'book': {
+    },
+    'book': {
         'source_filenames': (
             'js/book_text/jquery.eventdelegation.js',
             'js/book_text/jquery.scrollto.js',