From ac1dd14616ce3b52c4f515ff1b76fa377fb83d3b Mon Sep 17 00:00:00 2001 From: Jason Heppler Date: Mon, 11 Nov 2024 16:05:41 -0600 Subject: [PATCH] build: Prevent AWS/Wagtail/MinIO overwrite of files to fix rendition overrides --- config/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/settings.py b/config/settings.py index d08892e..1e1b439 100644 --- a/config/settings.py +++ b/config/settings.py @@ -178,6 +178,8 @@ # Wagtail configuration WAGTAILADMIN_BASE_URL = "localhost:8000" WAGTAIL_SITE_NAME = "Denig Scholarly Essays" +AWS_S3_FILE_OVERWRITE = False +WAGTAILIMAGES_RENDITION_STORAGE_OPTIONS = {"file_overwrite": False} TAGGIT_TAGS_FROM_STRING = "taggit_selectize.utils.parse_tags" TAGGIT_STRING_FROM_TAGS = "taggit_selectize.utils.join_tags" SITE_ID = 1