Open twisker opened 3 years ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.
:white_check_mark: twisker
:x: 王颖
@huiguangjun @favoyang @TonyPythoneer please update pypi with these changes if possible. otherwise, this storage backend is merely useful in a product django project. thanks.
set OSS storage location based on STATIC_ROOT and MEDIA_ROOT, other than STATIC_URL and MEDIA_URL.
_URL means for the template to determind where to find the resources online, while _ROOT means for the server to locate where the physical resources are. thus, the storage location should be determinded by *_ROOT.