Skip to main content

Django storage backends for go-fastdfs

Project description

django-gofastdfs-storage

集成 go-fastdfs 作为 Django 的静态文件存储后端

已发布至 pypi: https://pypi.org/project/django-gofastdfs-storage/1.0.4

pip 安装

pip install django-gofastdfs-storage==1.0.4

settings.py

STATICFILES_STORAGE = 'django_gofastdfs_storage.backends.StaticStorage'
DEFAULT_FILE_STORAGE = 'django_gofastdfs_storage.backends.MediaStorage'

GOFASTDFS_ENDPOINT=''
GOFASTDFS_AUTH_TOKEN=''
GOFASTDFS_BUCKET_NAME='djangoadmin'

Project details


Download files

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

Source Distribution

django-gofastdfs-storage-1.0.4.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

django_gofastdfs_storage-1.0.4-py2.py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page