Support for aliyun oss2 storage backends in Django
Installing from PyPI is as easy as doing:
pip install django-oss2-storage
Once that is done add storages to your INSTALLED_APPS and set DEFAULT_FILE_STORAGE to the backend of your choice. If, for example, you want to use the boto3 backend you would set:
DEFAULT_FILE_STORAGE = 'oss2_storage.backends.Oss2MediaStorage'
django-oss2-storage change log
- Setup the package