Skip to content

Instantly share code, notes, and snippets.

@LeoHeo
Created July 15, 2016 03:56
Show Gist options
  • Save LeoHeo/894c82601309fd05796754afcb516d06 to your computer and use it in GitHub Desktop.
Save LeoHeo/894c82601309fd05796754afcb516d06 to your computer and use it in GitHub Desktop.
from django.contrib.staticfiles.storage import CachedFilesMixin, ManifestFilesMixin
from pipeline.storage import PipelineMixin
from storages.backends.s3boto import S3BotoStorage
class S3PipelineManifestStorage(PipelineMixin, ManifestFilesMixin, S3BotoStorage):
pass
class S3PipelineCachedStorage(PipelineMixin, CachedFilesMixin, S3BotoStorage):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment