X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/8188bfc6cd9c651521d47ae5250c9c26b8039496..62c6504a2495e2a1d48f7185ab3adb5984916b1c:/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 893848a..4a47f9f 100644 --- a/prawokultury/settings.d/50-static.py +++ b/prawokultury/settings.d/50-static.py @@ -10,43 +10,43 @@ STATICFILES_FINDERS = ( ) STATICFILES_STORAGE = 'fnpdjango.pipeline_storage.GzipPipelineCachedStorage' -PIPELINE_CSS_COMPRESSOR = None -PIPELINE_JS_COMPRESSOR = None -PIPELINE_CSS = { - 'base': { - 'source_filenames': ( - 'css/base.scss', - 'css/layout.scss', - 'css/header.scss', - 'css/menu.scss', - 'css/search.scss', - 'css/sidebar.scss', - 'css/promobox.scss', - 'css/entry.scss', - 'css/footer.scss', - 'css/prevnext.scss', - 'css/forms.scss', - 'events/events.scss', - 'contrib/lightbox/css/lightbox.css', - ), - 'output_filename': 'compressed/base.css', +PIPELINE = { + 'CSS_COMPRESSOR': None, + 'JS_COMPRESSOR': None, + 'STYLESHEETS': { + 'base': { + 'source_filenames': ( + 'css/base.scss', + 'css/layout.scss', + 'css/header.scss', + 'css/menu.scss', + 'css/search.scss', + 'css/sidebar.scss', + 'css/promobox.scss', + 'css/entry.scss', + 'css/footer.scss', + 'css/prevnext.scss', + 'css/forms.scss', + 'events/events.scss', + + 'contrib/lightbox/css/lightbox.css', + ), + 'output_filename': 'compressed/base.css', + }, }, -} -PIPELINE_JS = { - 'base': { - 'source_filenames': ( - 'js/promobox.js', - 'js/workshop_form.js', - 'js/optional_fields.js', - 'contrib/lightbox/js/lightbox.min.js', - ), - 'output_filename': 'compressed/base.js', + 'JAVASCRIPT': { + 'base': { + 'source_filenames': ( + 'js/promobox.js', + 'js/workshop_form.js', + 'js/optional_fields.js', + 'contrib/lightbox/js/lightbox.min.js', + ), + 'output_filename': 'compressed/base.js', + }, }, + 'COMPILERS': ( + 'pipeline.compilers.sass.SASSCompiler', + ), } - -PIPELINE_COMPILERS = ( - 'pipeline.compilers.sass.SASSCompiler', -) - -PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'