X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/df7591ba8d0b16c2faf45c0064a86a6f31a3733b..3552318f888ebf2ab262ca435ec00eb706badadd:/prawokultury/settings.d/50-static.py diff --git a/prawokultury/settings.d/50-static.py b/prawokultury/settings.d/50-static.py index 3f5f951..be0cd15 100644 --- a/prawokultury/settings.d/50-static.py +++ b/prawokultury/settings.d/50-static.py @@ -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 = { @@ -27,6 +27,8 @@ PIPELINE_CSS = { 'css/prevnext.scss', 'css/forms.scss', 'events/events.scss', + + 'contrib/lightbox/css/lightbox.css', ), 'output_filename': 'compressed/base.css', }, @@ -35,6 +37,7 @@ PIPELINE_JS = { 'base': { 'source_filenames': ( 'js/promobox.js', + 'contrib/lightbox/js/lightbox.min.js', ), 'output_filename': 'compressed/base.js', },