File downloads were failing after the removal of the MEDIA_ROOT Django setting (commit d6f9000df81efda31bd9be853eaf40ea6743754a) due to the file path /data/... being outside the app root /app, causing at SuspiciousFileOperation exception. This restores that setting.
Description of the Change
File downloads were failing after the removal of the MEDIA_ROOT Django setting (commit d6f9000df81efda31bd9be853eaf40ea6743754a) due to the file path
/data/...
being outside the app root/app
, causing at SuspiciousFileOperation exception. This restores that setting.Unit tests pass at commit 83f233d.