Support for many storage backends in Django
Installing from PyPI is as easy as doing:
pip install django-storages
If you’d prefer to install from source (maybe there is a bugfix in master that hasn’t been released yet) then the magic incantation you are looking for is:
pip install -e 'git+https://github.com/jschneier/django-storages.git#egg=django-storages'
Once that is done add storages to your INSTALLED_APPS and set DEFAULT_FILE_STORAGE to the backend of your choice. If, for example, you want to use the boto3 backend you would set:
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
There are also a number of settings available to control how each storage backend functions, please consult the documentation for a comprehensive list.
django-storages is a project to provide a variety of storage backends in a single library.
This library is usually compatible with the currently supported versions of Django. Check the trove classifiers in setup.py to be sure.
This repo began as a fork of the original library under the package name of django-storages-redux and became the official successor (releasing under django-storages on PyPI) in February of 2016.
I suspect that a few of the storage engines in backends/ have been unsupported for quite a long time. I personally only really need the S3Storage backend but welcome bug reports (and especially) patches and tests for some of the other backends.
Issues are tracked via GitHub issues at the project issue page.
The original documentation for django-storages is located at https://django-storages.readthedocs.org/. Stay tuned for forthcoming documentation updates.
True(#189, #190) thanks @leonsmith
utils.setting(#176) thanks @ZuluPro
.readlinesfor FTPStorage (#175) thanks @ZuluPro
django-storages. Please update your requirements files to
NOTE: Version 1.1.9 is the first release of django-storages after the fork. It represents the current (2014-12-08) state of the original django-storages in master with no additional changes. This is the first release of the code base since March 2013.
Everything Below Here Was Previously Released on PyPi under django-storages
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|django_storages-1.6.1-py2.py3-none-any.whl (46.5 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Jun 22, 2017|
|django-storages-1.6.1.tar.gz (59.9 kB) Copy SHA256 Checksum SHA256||–||Source||Jun 22, 2017|