From fed32e78c576822b7062bb7fffb2c043646a4de0 Mon Sep 17 00:00:00 2001 From: Parsa Nazer Date: Tue, 21 Oct 2025 10:59:25 +0330 Subject: [PATCH] file_overwrite = False --- backend/core/storages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/core/storages.py b/backend/core/storages.py index d9cea23..daba2f8 100644 --- a/backend/core/storages.py +++ b/backend/core/storages.py @@ -3,4 +3,5 @@ from storages.backends.s3boto3 import S3Boto3Storage class MediaStorage(S3Boto3Storage): location = 'media' - default_acl = 'public-read' \ No newline at end of file + default_acl = 'public-read' + file_overwrite = False \ No newline at end of file