fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move source names to a model.
[wolnelektury.git]
/
wolnelektury
/
utils.py
diff --git
a/wolnelektury/utils.py
b/wolnelektury/utils.py
index
e06fb1d
..
0c256e5
100644
(file)
--- a/
wolnelektury/utils.py
+++ b/
wolnelektury/utils.py
@@
-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