Commit 6885a792 by Timothée Peignier

add docs on storage and staticfiles finder

parent 14ee919f
......@@ -20,6 +20,7 @@ Table Of Contents
compilers
versioning
templates
storages
farfutureexpires
backwardsincompatiblechanges
......
.. _ref-storages:
========
Storages
========
Using with a custom storage
===========================
Pipeline use `Django Storage <https://docs.djangoproject.com/en/dev/ref/files/storage/>`_
to read, save and delete files, by default it use an improved ``FileSystemStorage``.
You can provide your own via ``PIPELINE_STORAGE`` : ::
PIPELINE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
Using with staticfiles
======================
Pipeline is providing a Finder for `staticfiles app <https://docs.djangoproject.com/en/dev/howto/static-files/>`_,
to use it configure ``STATICFILES_FINDERS`` like so : ::
STATICFILES_FINDERS = 'pipeline.finders.PipelineFinder'
.. _ref-templates:
====================
Javascript Templates
====================
......
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