From 8a127a9f4ff545591138126a80c1ebba0cc0c331 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sun, 19 Jan 2025 13:55:25 -0300 Subject: [PATCH] feat(transactions): soft delete --- app/WYGIWYH/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/WYGIWYH/settings.py b/app/WYGIWYH/settings.py index 36cea84..f663074 100644 --- a/app/WYGIWYH/settings.py +++ b/app/WYGIWYH/settings.py @@ -337,3 +337,5 @@ else: } CACHALOT_UNCACHABLE_TABLES = ("django_migrations", "procrastinate_jobs") + +ENABLE_SOFT_DELETION = os.environ.get("ENABLE_SOFT_DELETION", "False").lower() == "true"