File: 0002-Change-default-compressors.patch

package info (click to toggle)
django-pipeline 1.6.8-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 736 kB
  • ctags: 565
  • sloc: python: 2,458; makefile: 119
file content (25 lines) | stat: -rw-r--r-- 867 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From e4b97bb92c2b60eace913fc18e0a23fc44d04b9c Mon Sep 17 00:00:00 2001
From: Brian May <bam@debian.org>
Date: Thu, 24 Mar 2016 09:14:37 +1100
Subject: Change default compressors

Replace default compressors with compressors available in Debian main.
---
 pipeline/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pipeline/conf.py b/pipeline/conf.py
index b6dd5b7..6d51b65 100644
--- a/pipeline/conf.py
+++ b/pipeline/conf.py
@@ -25,8 +25,8 @@ DEFAULTS = {
 
     'SHOW_ERRORS_INLINE': _settings.DEBUG,
 
-    'CSS_COMPRESSOR': 'pipeline.compressors.yuglify.YuglifyCompressor',
-    'JS_COMPRESSOR': 'pipeline.compressors.yuglify.YuglifyCompressor',
+    'CSS_COMPRESSOR': 'pipeline.compressors.cssmin.CSSMinCompressor',
+    'JS_COMPRESSOR': 'pipeline.compressors.jsmin.JSMinCompressor',
     'COMPILERS': [],
 
     'STYLESHEETS': {},