]> git.parisson.com Git - teleforma.git/commitdiff
Postman now send a copy of mails to e-learning@pro-barreau.com : https://trackers...
authorYoan Le Clanche <yoanl@pilotsystems.net>
Mon, 29 Aug 2022 14:14:12 +0000 (16:14 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Mon, 29 Aug 2022 14:14:12 +0000 (16:14 +0200)
app/settings.py

index 7c438b48f6a3c550d93343fb1a6141128376f4f3..d88eee3969dcc500c36867f18fb15a7697cd657c 100644 (file)
@@ -376,6 +376,11 @@ def show_user_as(user):
 
 
 POSTMAN_SHOW_USER_AS = show_user_as
+def get_params_email(context):
+    return {
+        'cc': ['e-learning@pro-barreau.com'],
+    }
+POSTMAN_PARAMS_EMAIL = get_params_email  # default is None
 
 # MEZZANINE
 GRAPPELLI_INSTALLED = False