marazmiki / django-selectel-storage

Let you use the Selectel Cloud as a storage backend of your Django application.

Home Page:https://pypi.org/project/django-selectel-storage/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-selectel-storage

The project license Travis CI build status Code coverage percentage Wheel Status Supported Python versions Supported Django versions Documentation Status Codacy Badge

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

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_STORAGES = {
    'default': {
        'USERNAME': 'xxxx_user1',
        'PASSWORD': 'secret',
        'CONTAINER_NAME': 'bucket',
    },
    'yet-another-schema': {
        'USERNAME': 'yyyy_user2',
        'PASSWORD': 'mystery',
        'CONTAINER_NAME': 'box',

    },
}

Please see details in the documentation.

About

Let you use the Selectel Cloud as a storage backend of your Django application.

https://pypi.org/project/django-selectel-storage/

License:MIT License


Languages

Language:Python 98.4%Language:Makefile 1.6%