File: 0002-Change-default-compressors.patch

package info (click to toggle)
django-pipeline 1.6.14-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 780 kB
  • sloc: python: 2,756; makefile: 119
file content (24 lines) | stat: -rw-r--r-- 796 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 085a1e2..26f9cb0 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': {},