Reading from DO spaces Media folder uploaded file

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…”. 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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer