Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

add qiniuyun storage support for Django

Project description

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'
}

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-qns, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_qns-0.0.1-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-qns-0.0.1.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page