scimma / blast

Django web app for the automatic characterization of supernova hosts
MIT License
1 stars 3 forks source link

Restore MEDIA_ROOT in settings.py to avoid SuspiciousFileOperation error #227

Closed manning-ncsa closed 7 months ago

manning-ncsa commented 7 months ago

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.