This is the version of django-cumulus we use in production. It's probably not real useful to other people. We mostly just created it so we can more consistantly control versioning, while still getting the latest git features when we need them.
Right now it includes two patches, both by cwood.
- [Use default ContentFileObject](django-cumulus#162) (instead of a weird hacky custom class that re-implimented most of it for no reason. I'm sure it made sense a long time ago)
- [Cache result of URI](django-cumulus#161), which should reduce the round trip latency by a whole bunch.
And a minor change by me, re-enabling setting headers. So was can properly set COR headers again.
django-cumulus
provides a set of tools to utilize the
python-swiftclient and Rackspace Cloud Files API from Django. It
includes a custom file storage class, SwiftclientFilesStorage.
More documentation about the usage and installation of django-cumulus
can be found on django-cumulus.readthedocs.org.
The source code for django-cumulus
can be found and contributed to on
github.com/django-cumulus/django-cumulus. There you can also file issues.
To find out what's new in this version of django-cumulus
, please see
the changelog
This library is maintained by:
- Ferrix Hovi (@ferrix)
- Thomas Schreiber (@rizumu)
They will be able to answer questions, give architectural guidance and merge pull requests.
Please visit django-cumulus.readthedocs.org for the full documentation.
Install Django Cumulus with your favorite Python package manager:
pip install django-cumulus
To install the in-development version of Django Cumulus:
pip install django-cumulus==dev
Add
'cumulus'
to theINSTALLED_APPS
setting in your project'ssettings.py
:INSTALLED_APPS = ( ... 'cumulus', ... )
Add the following to your project's
settings.py
file:CUMULUS = { 'USERNAME': 'YourUsername', 'API_KEY': 'YourAPIKey', 'CONTAINER': 'ContainerName', 'PYRAX_IDENTITY_TYPE': 'rackspace', } DEFAULT_FILE_STORAGE = 'cumulus.storage.SwiftclientStorage'
The PYRAX_IDENTITY_TYPE
parameter can either be rackspace
or keystone
depending on whether you use Rackspace or OpenStack respectively.