2

如何在包含文件字段的表中保存绝对路径(如 /var/files/.. 或 s3://bucket/path)?
Django 默认使用 MEDIA_ROOT 作为前缀,并存储相对路径。
我将 django-storages 包用于 S3 后端。

4

0 回答 0