Skip to main content

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

Project description

https://badge.fury.io/py/django-selectel-storage.png https://travis-ci.org/marazmiki/django-selectel-storage.png?branch=master https://coveralls.io/repos/marazmiki/django-selectel-storage/badge.png?branch=master https://pypip.in/d/django-selectel-storage/badge.png

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_STORAGE = 'django_selectel_storage.storage.SelectelStorage'
SELECTEL_CONTAINER_NAME = 'container_name'
SELECTEL_PASSWORD = 'container_password'
SELECTEL_CONTAINER_URL = ''

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.

Source Distributions

django-selectel-storage-0.1.zip (8.8 kB view hashes)

Uploaded Source

django-selectel-storage-0.1.tar.gz (4.5 kB view hashes)

Uploaded Source

django-selectel-storage-0.1.tar.bz2 (4.6 kB view hashes)

Uploaded Source

Built Distributions

django_selectel_storage-0.1-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

django_selectel_storage-0.1-py2-none-any.whl (6.9 kB view hashes)

Uploaded Python 2

Supported by

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