Closed lucasvazq closed 4 years ago
I have a function that returns to me a InMemoryUploadedFile, and I need to save it into S3DirectFields field in a model. How can I do the conversion?
I found a way. Using boto, I uploaded the file to an S3 instance, then got the url and finally saved it into the s3directfield
I have a function that returns to me a InMemoryUploadedFile, and I need to save it into S3DirectFields field in a model. How can I do the conversion?