Skip to content

GTxx/django-aliyun-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django aliyun oss storage

Build Status

使用说明

settings.py中加入

ALIYUN_OSS_ACCESS_KEY_ID = 'your_key_id'
ALIYUN_OSS_ACCESS_KEY_SECRET = 'your_access_key'
ALIYUN_OSS_BUCKET_NAME = 'your_bucket_name'
ALIYUN_OSS_ACCESS_HOST = 'your_host_address'
# ALIYUN_OSS_FILE_OVERWRITE = True
DEFAULT_FILE_STORAGE = 'oss_storage.storage.AliyunStorage'

NOTE:

存储使用阿里云oss python sdk 0.3.7

About

Aliyun OSS as django storage backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published