From: Radek Czajka Date: Thu, 2 Oct 2014 11:23:53 +0000 (+0200) Subject: Enable jsmin. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/4636545e1fcf56506512ec8f136e32aae29641b2 Enable jsmin. --- diff --git a/requirements.txt b/requirements.txt index 06dc1fa8b..7bed40f48 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ Django>=1.7,<1.8 fnpdjango>=0.1.15,<0.2 django-pipeline>=1.3,<1.4 +jsmin django-pagination>=1.0 django-maintenancemode>=0.10 django-piston==0.2.2.1.2 diff --git a/wolnelektury/settings/static.py b/wolnelektury/settings/static.py index 0a520ad7e..ebce200f3 100644 --- a/wolnelektury/settings/static.py +++ b/wolnelektury/settings/static.py @@ -153,7 +153,7 @@ PIPELINE_JS = { STATICFILES_STORAGE = 'fnpdjango.utils.pipeline_storage.GzipPipelineCachedStorage' PIPELINE_CSS_COMPRESSOR = None -PIPELINE_JS_COMPRESSOR = None +PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.jsmin.JSMinCompressor' PIPELINE_COMPILERS = ( 'pipeline.compilers.sass.SASSCompiler',