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.
Source Distribution
Built Distribution
Close
Hashes for django-selectel-storage-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13fc13ad878492a50ddb4fe62f7585a264b6cd562f113d36d95b3f0ce04ec9e6 |
|
MD5 | db356148f23d681a42ef6b81a7601a0c |
|
BLAKE2b-256 | 29ae0aa7ff871824cf2063b621649b407e20252320326322d8532bf96bb50fed |
Close
Hashes for django_selectel_storage-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48d6bc1eb07e7916c1ba74c3421a0f14c433716c3ba23e5a192f4c696042fce1 |
|
MD5 | f6976713e57c00188ece325396b2b5fd |
|
BLAKE2b-256 | 44f3ef581489d9f0337ce8d316ade1f1f7bb7b3a41078df7e53b812ae4db17d4 |