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

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


Release history Release notifications

This version
History Node

0.3.1

History Node

0.3

History Node

0.2

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_selectel_storage-0.3.1-py2.py3-none-any.whl (7.4 kB) Copy SHA256 hash SHA256 Wheel 2.7 Mar 13, 2016
django-selectel-storage-0.3.1.tar.bz2 (5.1 kB) Copy SHA256 hash SHA256 Source None Mar 13, 2016
django-selectel-storage-0.3.1.tar.gz (4.9 kB) Copy SHA256 hash SHA256 Source None Mar 13, 2016
django-selectel-storage-0.3.1.zip (9.6 kB) Copy SHA256 hash SHA256 Source None Mar 13, 2016

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