开发者

Using Django-Storages with amazon S3 and https

We have an image uploader that uploads to AWS, using django-storages. Right now it sends images over http but we want it to use https.

Googl开发者_开发技巧ing didn't help me find a way to configure django-storages to do it. Does anyone know the best way to accomplish this, or any documentation that would point me in the right direction.


Looking at the source it appears you can enable HTTPS by setting AWS_S3_SECURE_URLS = True.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜