python - Django API: Upload user files to S3 using Celery to make process async -
i have requirement save user uploaded files s3 , file url returned in response. have considered using django-storages. problem django-storage file first uploaded server s3.
i trying make solution file uploaded server, celery task pushes file s3. in case url should return in response s3(file might not have been uploaded before user requests it) or server url , have server redirect s3?
since want return value before know s3 storage location can't be s3 storage location. best can return value user can use get s3 storage location server when gets stored (or information it's still waiting stored).
Comments
Post a Comment