Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

This version
History Node

1.1.0

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-swiftstorage-1.1.0.tar.gz (8.3 kB) Copy SHA256 hash SHA256 Source None May 13, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page