Metadata-Version: 2.0
Name: django-queued-storage
Version: 0.7.2
Summary: Queued remote storage for Django.
Home-page: https://github.com/jazzband/django-queued-storage
Author: Jannis Leidel
Author-email: jannis@leidel.info
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Utilities
Requires-Dist: six
Requires-Dist: django-appconf

django-queued-storage
=====================

.. image:: https://img.shields.io/pypi/v/django-queued-storage.svg
   :alt: PyPi page
   :target: https://pypi.python.org/pypi/django-queued-storage

.. image:: https://img.shields.io/travis/jazzband/django-queued-storage.svg
    :alt: Travis CI Status
    :target: https://travis-ci.org/jazzband/django-queued-storage

.. image:: https://img.shields.io/coveralls/jazzband/django-queued-storage/master.svg
   :alt: Coverage status
   :target: https://coveralls.io/r/jazzband/django-queued-storage

.. image:: https://readthedocs.org/projects/django-queued-storage/badge/?version=latest&style=flat
   :alt: ReadTheDocs
   :target: http://django-queued-storage.readthedocs.org/en/latest/

.. image:: https://img.shields.io/pypi/l/django-queued-storage.svg
   :alt: License BSD


This storage backend enables having a local and a remote storage
backend. It will save any file locally and queue a task to transfer it
somewhere else using Celery_.

If the file is accessed before it's transferred, the local copy is
returned.

Installation
------------

::

    pip install django-queued-storage

Configuration
-------------

-  Follow the configuration instructions for
   django-celery_
-  Set up a `caching backend`_
-  Add ``'queued_storage'`` to your ``INSTALLED_APPS`` setting

.. _django-celery: https://github.com/ask/django-celery
.. _`caching backend`: https://docs.djangoproject.com/en/1.3/topics/cache/#setting-up-the-cache
.. _Celery:  http://celeryproject.org/


