X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/2c29cc5cf878a27f7fd16f4ac2c10472263bcfc1..7210db1597376df2228e65dcea91141f1d78495f:/edumed/settings.d/50-static.py?ds=inline diff --git a/edumed/settings.d/50-static.py b/edumed/settings.d/50-static.py index ce1d1da..f2924eb 100644 --- a/edumed/settings.d/50-static.py +++ b/edumed/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 = { @@ -39,8 +39,10 @@ PIPELINE_JS = { 'catalogue/js/jquery.cycle.all.js', 'jquery/colorbox/jquery.colorbox-min.js', 'jquery/colorbox/jquery.colorbox-pl.js', + 'catalogue/js/carousel.js', 'catalogue/js/edumed.js', 'catalogue/js/lesson.js', + 'catalogue/js/lesson-list.js', 'sponsors/js/sponsors.js', 'curriculum/curriculum.js', 'js/formset.js', @@ -53,6 +55,7 @@ PIPELINE_JS = { 'catalogue/js/jquery-ui-1.10.0.custom.js', 'wtem/edumed.js', 'wtem/wtem.js', + 'wtem/json2.js' ), 'output_filename': 'compressed/wtem.js' }, @@ -61,5 +64,3 @@ PIPELINE_JS = { PIPELINE_COMPILERS = ( 'pipeline.compilers.sass.SASSCompiler', ) - -PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'