From 4636545e1fcf56506512ec8f136e32aae29641b2 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 2 Oct 2014 13:23:53 +0200 Subject: [PATCH] Enable jsmin. --- requirements.txt | 1 + wolnelektury/settings/static.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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', -- 2.20.1