Commit 1bda108f by Timothée Peignier

Merge pull request #365 from hzy/patch-1

Correct staticfiles imports
parents f73a5aad 6e65d9a9
...@@ -62,7 +62,7 @@ so that you can avoid compressing them on the fly. :: ...@@ -62,7 +62,7 @@ so that you can avoid compressing them on the fly. ::
The storage need to inherit from ``GZIPMixin``: :: The storage need to inherit from ``GZIPMixin``: ::
from staticfiles.storage import CachedStaticFilesStorage from django.contrib.staticfiles.storage import CachedStaticFilesStorage
from pipeline.storage import GZIPMixin from pipeline.storage import GZIPMixin
...@@ -80,7 +80,7 @@ You can also use your own custom storage, for example, if you want to use S3 for ...@@ -80,7 +80,7 @@ You can also use your own custom storage, for example, if you want to use S3 for
Your storage only need to inherit from ``PipelineMixin`` and/or ``CachedFilesMixin`` : :: Your storage only need to inherit from ``PipelineMixin`` and/or ``CachedFilesMixin`` : ::
from staticfiles.storage import CachedFilesMixin from django.contrib.staticfiles.storage import CachedFilesMixin
from pipeline.storage import PipelineMixin from pipeline.storage import PipelineMixin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment