PIL.Image from Django ImageField - 'ImageFieldFile' object has no attribute 'mode'

后端 未结 0 1156
猫巷女王i
猫巷女王i 2021-01-22 01:31

I want to resize an ImageField before saving the model and save the resized image to a new field.

I use S3 storage so I can\'t use Image(image.path...)

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