X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/02e15cdfe6d55f265169350c2418609090a93447..7f6a254fcbc815339837a974f598f2ac69791e05:/edumed/settings.d/50-static.py?ds=sidebyside diff --git a/edumed/settings.d/50-static.py b/edumed/settings.d/50-static.py index 835c8a5..0578903 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 = { @@ -25,8 +25,10 @@ PIPELINE_CSS = { 'catalogue/css/section_list.scss', 'curriculum/curriculum.scss', 'jquery/colorbox/colorbox.css', + # 'fnpdjango/annoy/annoy.css', - 'css/annoy.css', + 'css/forum.scss', + 'css/mil.scss' ), 'output_filename': 'compressed/base.css', }, @@ -38,19 +40,29 @@ 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/annoy.js', + 'js/formset.js', + 'pybb/js/pybbjs.js', + # 'fnpdjango/annoy/annoy.js', ), 'output_filename': 'compressed/base.js', }, + 'wtem': { + 'source_filenames': ( + 'catalogue/js/jquery-ui-1.10.0.custom.js', + 'wtem/edumed.js', + 'wtem/wtem.js', + 'wtem/json2.js' + ), + 'output_filename': 'compressed/wtem.js' + }, } PIPELINE_COMPILERS = ( 'pipeline.compilers.sass.SASSCompiler', ) - -PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'