Skip to main content

This application allows you easily save media and static files into selectel cloud storage

Project description

Travis CI build status Code coverage percentage Latest version on PyPI Wheel Status Supported Python versions

This application allows you easily save media and static files into Selectel cloud storage.

Dependencies

Installation

  1. Install the package
pip install django-selectel-storage
  1. Add to your settings module:
DEFAULT_FILE_STORAGE = 'django_selectel_storage.storage.SelectelStorage'
SELECTEL_USERNAME = 'xxxxxx'
SELECTEL_PASSWORD = 'container_password'
SELECTEL_CONTAINER_NAME = 'container_name'

If you have assigned custom domain with your selectel container, you need add the SELECTEL_CONTAINER_NAME attribute (trailing slash not matters)

SELECTEL_CONTAINER_URL = 'http://your.domain/'

Caveats

  • In python 3.x ContentFile with text mode content (not binary one) will causes TypeError due requests restrictions

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-selectel-storage, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size django_selectel_storage-0.3.1-py2.py3-none-any.whl (7.4 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-selectel-storage-0.3.1.tar.bz2 (5.1 kB) File type Source Python version None Upload date Hashes View
Filename, size django-selectel-storage-0.3.1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View
Filename, size django-selectel-storage-0.3.1.zip (9.6 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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page