Skip to content

Conversation

@twisker
Copy link

@twisker twisker commented Mar 7, 2021

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.

set OSS storage location based on STATIC_ROOT and MEDIA_ROOT,
expose bucket.update_object_meta to OssStorage, since sometimes they …
@CLAassistant
Copy link

CLAassistant commented Mar 7, 2021

CLA assistant check
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.

✅ twisker
❌ 王颖


王颖 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@twisker
Copy link
Author

twisker commented Mar 15, 2021

@huiguangjun @favoyang @TonyPythoneer please update pypi with these changes if possible. otherwise, this storage backend is merely useful in a product django project. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants