X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/df7591ba8d0b16c2faf45c0064a86a6f31a3733b..342081af0984b274caada653570067556ef5d09c:/prawokultury/settings.d/50-static.py?ds=sidebyside diff --git a/prawokultury/settings.d/50-static.py b/prawokultury/settings.d/50-static.py index 3f5f951..297d03b 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,8 @@ PIPELINE_JS = { 'base': { 'source_filenames': ( 'js/promobox.js', + 'js/workshop_form.js', + 'contrib/lightbox/js/lightbox.min.js', ), 'output_filename': 'compressed/base.js', },