Merge pull request #749 from BriggsThompson/remote-storage-documentation

Updating remote storages documentation for CachedS3BotoStorage bug.
This commit is contained in:
karyon 2016-05-10 18:07:40 +02:00
commit ee7d15a6d7
1 changed files with 1 additions and 1 deletions

View File

@ -66,8 +66,8 @@ apps can be integrated.
"compressor.storage.CompressorFileStorage")()
def save(self, name, content):
name = super(CachedS3BotoStorage, self).save(name, content)
self.local_storage._save(name, content)
super(CachedS3BotoStorage, self).save(name, self.local_storage._open(name))
return name
#. Set your :attr:`~django.conf.settings.COMPRESS_STORAGE` and STATICFILES_STORAGE_