Question

Reading from DO spaces Media folder uploaded file

Posted May 25, 2021 59 views
Django

Trying to read a previously uploaded pdf file, watermark it and save it in the same directory as the original pdf file. It works fine in my local server but fails in PROD with the current message:“RuntimeError: cannot open https://nyc3.digitaloceanspaces.com/....”. I am running Django 3.0, and DO spaces configured to store media files where I can see the original pdf file.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!