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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c88408dea7fc54125b987c2d18de758d557ac1d546486e473aefcfc57112c408 |
|
MD5 | f418f42032b6f5eb600a5ddfa82a3502 |
|
BLAKE2b-256 | 1b56ce0e9d038bc851f175957946f4f5b9a38268e5ba7083451619e2254f4ec4 |
Close
Hashes for django_qiniu_storage-1.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d9d1c0d7376b937c5dec41c28e7ac6aecf025b2c6ad2a60c7dda2d7df875570 |
|
MD5 | d80cda38bb733fe4c70b04f91e033e20 |
|
BLAKE2b-256 | 8854d123328b1175a4d5d170b9cfee6a881004f5e671473ed562c5102ce1a337 |