X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e304ddc63e67fcf4176145e5405abdc0ff7ddd0b..2ae6c6bc078cdc7ec6e3131bbbb430714bf36230:/wolnelektury/settings/static.py diff --git a/wolnelektury/settings/static.py b/wolnelektury/settings/static.py index 77be4d617..a3ff42430 100644 --- a/wolnelektury/settings/static.py +++ b/wolnelektury/settings/static.py @@ -1,5 +1,5 @@ from os import path -from settings.paths import PROJECT_DIR +from .paths import PROJECT_DIR # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" @@ -30,11 +30,12 @@ PIPELINE_CSS = { 'css/catalogue.css', 'sponsors/css/sponsors.css', 'css/auth.css', + 'funding/funding.scss', + 'polls/polls.scss', + 'css/form.scss', 'css/social/shelf_tags.css', 'css/ui-lightness/jquery-ui-1.8.16.custom.css', - - 'css/annoy.css', ], 'output_filename': 'css/compressed/all.css', }, @@ -47,8 +48,6 @@ PIPELINE_CSS = { 'book': { 'source_filenames': [ 'css/master.book.css', - - 'css/annoy.css', ], 'output_filename': 'css/compressed/book.css', }, @@ -85,8 +84,7 @@ PIPELINE_JS = { 'sponsors/js/sponsors.js', 'player/openplayer.js', 'js/search.js', - - 'js/annoy.js', + 'funding/funding.js', ), 'output_filename': 'js/base.min.js', }, @@ -105,8 +103,6 @@ PIPELINE_JS = { 'js/jquery.highlightfade.js', 'js/book.js', 'player/openplayer.js', - - 'js/annoy.js', ], 'output_filename': 'js/book.min.js', }, @@ -120,3 +116,9 @@ PIPELINE_JS = { STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage' PIPELINE_CSS_COMPRESSOR = None PIPELINE_JS_COMPRESSOR = None + +PIPELINE_COMPILERS = ( + 'pyscss_compiler.PySCSSCompiler', +) +PIPELINE_PYSCSS_BINARY = '/usr/bin/env pyscss' +PIPELINE_PYSCSS_ARGUMENTS = ''