Django swiftstorage for Swift API
Project description
django-swiftstorage
Provides a custom storage system for Django to store and retrieve files in OpenStack Swift.
Configuration
DEFAULT_FILE_STORAGE = "swiftstorage.storage.SwiftStorage" OS_USERNAME = "<openstack username>" OS_PASSWORD = "<openstack password>" OS_AUTH_URL = "<openstack keystone authenticator URL>" OS_REGION_NAME = "<openstack region name>" OS_TENANT_NAME = "<openstack tenant name>" SWIFT_CONTAINER_NAME = # Created if does not exist.
Testing
Tests can be run with python setup.py test. To make things easier, use tox.
tox can be installed with pip or via the python-tox package for Debian/Ubuntu.
Then simply call tox to run the tests in a virtual environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-swiftstorage-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9a1dacf94cf9b664a0f1edb650930e17f61fffc42f9604ce27bcfae07d7b3bb |
|
MD5 | 276d42801d873086beb2e846e5b60def |
|
BLAKE2b-256 | 9fd31a1f3b2a390ee0bf43f0ffd22fba0bc44165f6acde405710abad91698b04 |