Django QiNiu Cloud Storage
add qiniu cloud support for Django
install
pip install django-qns
usage
change the default storage to django-qns:
STATICFILES_STORAGE = 'storage.backends.qiniu_storage.QiNiuStorage'
or
DEFAULT_FILE_STORAGE = 'storage.backends.qiniu_storage.QiNiuStorage'
add configure to the django-qns in settings.py:
QINIU_STORAGE = {
'access_key': 'ak',
'secret_key': 'sk',
'bucket_name': 'your bucket name',
'domain': 'http://example.com',
'prefix': 'some-prefix'
}
Release files for django-qns 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-qns-0.0.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_qns-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / django-qns-0.0.1.tar.gz
| Download URL | django-qns-0.0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16e7521f7f663027afb2c16b31dcead0d70eda6c07f8228cb02230ec1bd5a6b0
|
|
BLAKE2b-256 checksum How to use checksums |
7bc98f311c37c969364af94f824e78f0466350f60ff6b43deaa1973d1845da8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Release files / django_qns-0.0.1-py3-none-any.whl
| Download URL | django_qns-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
973c03e7577b1bbbc39db326c9fc9fe70b97de3e65b8d13e17d3591a3a513634
|
|
BLAKE2b-256 checksum How to use checksums |
8038778be9ccf5476b93559b800f3177da4d2637235916d2da5917c23a90d8e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|