Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

a django storage for swift

Project description

django_swift
============

django_swift is a storage backend for django

django setings.py demo
============
* DEFAULT_FILE_STORAGE = 'django_swift.storage.SwiftStorage'
* SWIFT_AUTHURL = 'http://10.1.50.1:8080/auth/v1.0'
* SWIFT_USER = 'root'
* SWIFT_KEY = 'system:pass'
* SWIFT_CONTAINER_NAME = 'container name'
* SWIFT_RETRIES = 5
* SWIFT_PREAUTHURL = None
* SWIFT_PREAUTHTOKEN = None
* SWIFT_SNET = False
* SWIFT_STARTING_BACKOFF = 1
* SWIFT_TENANT_NAME = None
* SWIFT_OS_OPTIONS = None
* SWIFT_AUTH_VERSION = "1"
* SWIFT_CACERT = None
* SWIFT_INSECURE = False

django url settings
====================
* set in url.py: url('^media/([\w|.|/]+)', "django_swift.views.download")
* set in settings.py: MEDIA_URL = '/media/'

Project details


Download files

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

Files for django_swift, version 0.9.3
Filename, size File type Python version Upload date Hashes
Filename, size django_swift-0.9.3-py2.7.egg (7.8 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size django_swift-0.9.3.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page