X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/118fd7ac41a586001b4c8f45c149731cc9a2e586..fd65827f7d34921b927dfd735099b0690aa3a2df:/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 40e38c3..c667c32 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,6 +25,7 @@ PIPELINE_CSS = { 'catalogue/css/section_list.scss', 'curriculum/curriculum.scss', 'jquery/colorbox/colorbox.css', + 'fnpdjango/annoy/annoy.css', 'css/forum.scss', 'css/mil.scss' @@ -47,6 +48,7 @@ PIPELINE_JS = { 'curriculum/curriculum.js', 'js/formset.js', 'pybb/js/pybbjs.js', + 'fnpdjango/annoy/annoy.js', ), 'output_filename': 'compressed/base.js', }, @@ -64,5 +66,3 @@ PIPELINE_JS = { PIPELINE_COMPILERS = ( 'pipeline.compilers.sass.SASSCompiler', ) - -PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'