How to get uploaded absolute s3 image path in Django

前端 未结 0 526
不思量自难忘°
不思量自难忘° 2021-02-13 12:27

How to get uploaded s3 image absolute path. I tried model_instance.image.file.path but it throws an error django backend doesn\'t support absolute paths

相关标签:
回答
  • 消灭零回复
提交回复
热议问题