# django-upyun-storage **Repository Path**: miao/django-upyun-storage ## Basic Information - **Project Name**: django-upyun-storage - **Description**: Django File Storage for 又拍云存储 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 11 - **Forks**: 3 - **Created**: 2013-07-18 - **Last Updated**: 2022-02-20 ## Categories & Tags **Categories**: web-dev-toolkits **Tags**: None ## README django-upyun ============= django storage for [又拍云存储](http://upyun.com) ## INSTALL ```sh $ pip install django-upyun-storage ``` ## USAGE 修改 `settings.py` ```python UPYUN_BUCKET = "空间名称" UPYUN_ACCOUNT = "操作员用户名" UPYUN_PASSWORD = "操作员密码" STATICFILES_STORAGE = 'django_upyun.storage.UpYunStorage' ``` ### 将静态文件上传到又拍云CDN ```sh $ python manage.py collectstatic ```