GzipPipelineCachedStorage from fnpdjango.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Wed, 23 Apr 2014 14:06:58 +0000 (16:06 +0200)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Wed, 23 Apr 2014 14:06:58 +0000 (16:06 +0200)
wolnelektury/settings/static.py
wolnelektury/utils.py

index 2bfcd25..7ea3d70 100644 (file)
@@ -140,7 +140,7 @@ PIPELINE_JS = {
 
 }
 
 
 }
 
-STATICFILES_STORAGE = 'wolnelektury.utils.GzipPipelineCachedStorage'
+STATICFILES_STORAGE = 'fnpdjango.utils.pipeline_storage.GzipPipelineCachedStorage'
 PIPELINE_CSS_COMPRESSOR = None
 PIPELINE_JS_COMPRESSOR = None
 
 PIPELINE_CSS_COMPRESSOR = None
 PIPELINE_JS_COMPRESSOR = None
 
index e06fb1d..0c256e5 100644 (file)
@@ -5,8 +5,6 @@
 import pytz
 from django.utils import timezone
 from django.conf import settings
 import pytz
 from django.utils import timezone
 from django.conf import settings
-from pipeline.storage import GZIPMixin
-from pipeline.storage import PipelineCachedStorage
 
 tz = pytz.timezone(settings.TIME_ZONE)
 
 
 tz = pytz.timezone(settings.TIME_ZONE)
 
@@ -17,6 +15,3 @@ def localtime_to_utc(localtime):
 
 def utc_for_js(dt):
     return dt.strftime('%Y/%m/%d %H:%M:%S UTC')
 
 def utc_for_js(dt):
     return dt.strftime('%Y/%m/%d %H:%M:%S UTC')
-
-class GzipPipelineCachedStorage(GZIPMixin, PipelineCachedStorage):
-    pass