Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jazzband/django-queued-storage
Provides a proxy for Django storage backends that allows you to upload files locally and eventually serve them remotely
https://github.com/jazzband/django-queued-storage
Last synced: 8 days ago
JSON representation
Provides a proxy for Django storage backends that allows you to upload files locally and eventually serve them remotely
- Host: GitHub
- URL: https://github.com/jazzband/django-queued-storage
- Owner: jazzband
- License: bsd-3-clause
- Created: 2011-09-13T14:27:22.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-02-16T12:06:21.000Z (9 months ago)
- Last Synced: 2024-10-02T01:56:11.494Z (about 1 month ago)
- Language: Python
- Homepage: http://django-queued-storage.rtfd.org/
- Size: 224 KB
- Stars: 317
- Watchers: 12
- Forks: 62
- Open Issues: 10
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS
Awesome Lists containing this project
- starred-awesome - django-queued-storage - Provides a proxy for Django storage backends that allows you to upload files locally and eventually serve them remotely (Python)
README
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: https://django-queued-storage.readthedocs.io/en/latest/.. image:: https://img.shields.io/pypi/l/django-queued-storage.svg
:alt: License BSD.. image:: https://jazzband.co/static/img/badge.svg
:target: https://jazzband.co/
:alt: JazzbandThis 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.10/topics/cache/#setting-up-the-cache
.. _Celery: http://celeryproject.org/