Skip to main content

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.

Source Distribution

django_swift-0.9.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_swift-0.9.3-py2.7.egg (7.8 kB view details)

Uploaded Egg

File details

Details for the file django_swift-0.9.3.tar.gz.

File metadata

  • Download URL: django_swift-0.9.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django_swift-0.9.3.tar.gz
Algorithm Hash digest
SHA256 7575b04ac082a78745892051ef0ba087f82b26aa51c77fbcbe34ec48ccdd1d67
MD5 0891cb277db97922fa85efe677392862
BLAKE2b-256 37b01512dffe3098dae8c0480a7ae63a4690b0b707d70773fa6089eea130a534

See more details on using hashes here.

File details

Details for the file django_swift-0.9.3-py2.7.egg.

File metadata

File hashes

Hashes for django_swift-0.9.3-py2.7.egg
Algorithm Hash digest
SHA256 912e1d4bcddec5a98a098691174abbcf886a59be7d7f8ba2012890ce2cd0b38c
MD5 0282e425a03d1673a3e916eb4d210658
BLAKE2b-256 8e53e97cfec7b66a26c30312ee355db593271f39b138b11c2cbb487703129628

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page