Django storage for Qiniu Cloud Storage
Project description
Django storage for 七牛云存储
Install
pip install django-qiniu-storage
Configurations
Django Qiniu Storage 需要以下几个配置才能正常工作。这些配置可以环境变量或 setting.py 来设置。环境变量的优先级要高于 setting.py 。
QINIU_ACCESS_KEY
七牛给开发者分配的 AccessKey
QINIU_SECRET_KEY
七牛给开发者分配的 Secret
QINIU_BUCKET_NAME
用来存放文件的七牛空间(bucket)的名字
QINIU_BUCKET_DOMAIN
七牛空间(bucket)的域名
Usage
在 setting.py 里设置 DEFAULT_FILE_STORAGE 为 qiniustorage.backends.QiniuStorage
DEFAULT_FILE_STORAGE = 'qiniustorage.backends.QiniuStorage'
Documentation
It’s hosted on the Read The Doc.
License
基于MIT许可证发布
Project details
Release history Release notifications | RSS feed
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-qiniu-storage-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | deb129bddab302f75a6e83920efbec8d539d2266de386f792793f2c84e0a0023 |
|
MD5 | ace55c71bcf20e45b29c9b14760f5e87 |
|
BLAKE2b-256 | 341e5882a162d21f31d46c48deeece48be53de82245dc456065cdcf079d6469b |
Close
Hashes for django_qiniu_storage-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75f2e783a1de202d30bc4485a81b8616d47ddbcd105d7cf94109230e14c02a57 |
|
MD5 | 289bce808e7c9fd563efd8ba2a270a4b |
|
BLAKE2b-256 | 5d094227002837bfa7ff0995beeeee930017bf1eecd1cd5d29c0dc3a9c91c826 |