fix duplicated email

This commit is contained in:
2025-08-13 21:13:25 +02:00
parent 70c95f7976
commit 839fafdb33
3 changed files with 94 additions and 45 deletions

View File

@@ -183,4 +183,5 @@ DEFAULT_FROM_EMAIL = None # Will be set from AppSettings
# Notifications / Debug
# If True, duplicate suppression is disabled and emails can be resent on every run.
NOTIFICATIONS_ALLOW_DUPLICATES = os.getenv('NOTIFICATIONS_ALLOW_DUPLICATES', 'True').lower() == 'true'
# Default is False to avoid accidental duplicate mails in local/dev runs.
NOTIFICATIONS_ALLOW_DUPLICATES = os.getenv('NOTIFICATIONS_ALLOW_DUPLICATES', 'False').lower() == 'true'