Skip to content

Commit 01bcfa2

Browse files
committed
Fix setting FILE_FORM_TEMP_STORAGE after Django update.
1 parent 5ca9467 commit 01bcfa2

2 files changed

Lines changed: 1 addition & 24 deletions

File tree

hypha/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@
635635
os.makedirs(os.path.join(MEDIA_ROOT, FILE_FORM_UPLOAD_DIR), exist_ok=True)
636636
# Store temporary files on S3 too (files are still uploaded to local filesystem first)
637637
if env.str("AWS_STORAGE_BUCKET_NAME", None):
638-
FILE_FORM_TEMP_STORAGE = PRIVATE_FILE_STORAGE
638+
FILE_FORM_TEMP_STORAGE = "hypha.storage_backends.PrivateMediaStorage"
639639

640640

641641
# Misc settings

hypha/settings/example.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)