Skip to content

Commit 715a0f5

Browse files
committed
Force file system storage s3
1 parent cc7e0ef commit 715a0f5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

landolfio/website/settings/production.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
DJANGO_DRF_FILEPOND_UPLOAD_TMP = os.path.join(MEDIA_ROOT, "filepond-temp-uploads")
5454
DJANGO_DRF_FILEPOND_ALLOW_EXTERNAL_UPLOAD_DIR = True
5555

56+
DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
57+
DJANGO_DRF_FILEPOND_STORAGES_BACKEND = "storages.backends.s3boto3.S3Boto3Storage"
58+
5659
# We do this in our reverse proxy, no need to do it here
5760
SECURE_SSL_REDIRECT = False
5861

0 commit comments

Comments
 (0)