X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..864d45abe5ec985836baf52de168943d25a03be6:/src/dvcs/storage.py?ds=inline diff --git a/src/dvcs/storage.py b/src/dvcs/storage.py index 6bb5b595..91f78e60 100755 --- a/src/dvcs/storage.py +++ b/src/dvcs/storage.py @@ -2,8 +2,10 @@ from zlib import compress, decompress from django.core.files.base import ContentFile, File from django.core.files.storage import FileSystemStorage +from django.utils.deconstruct import deconstructible +@deconstructible class GzipFileSystemStorage(FileSystemStorage): def _open(self, name, mode='rb'): """TODO: This is good for reading; what about writing?"""