A Django storage backend allowing you to easily save user-generated and static files inside Selectel Cloud storage rather than a local filesystem, as Django does by default.
Project description
This application allows you easily save media and static files into Selectel cloud storage.
Installation
- Install the package
pip install django-selectel-storage
- 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_selectel_storage-1.0.2-py2.py3-none-any.whl (8.9 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size django-selectel-storage-1.0.2.tar.gz (8.1 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for django_selectel_storage-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7069a65aff4d7ac8afb6f9f966b54d26fc312ef364a71295223ea4773ab8f5cb |
|
MD5 | ca04e49fad76e3410ae6bf35b62147bf |
|
BLAKE2-256 | bd1c5a0fa0b2775ea5b1c16cec1441833efa8691d4a725c9e24cc591b29fc5db |
Close
Hashes for django-selectel-storage-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44c02584e5a5261d46a3f495db088df8780e05ce990bbfdfbe8b8f6171270126 |
|
MD5 | f5b1b099f5c5bf4c095fceb8d9ee57cb |
|
BLAKE2-256 | 2a6468a40e8ed937b2c9a297478955f8f2200bb3fdc2e3af0216d37152957a38 |