From aa97d8eaa09756e24b6fa10df4c6046fffd54cf1 Mon Sep 17 00:00:00 2001 From: Claire Peters Date: Tue, 23 Jun 2026 15:01:27 -0700 Subject: [PATCH] cc department storage report to email_admin_list --- coldfront/core/project/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coldfront/core/project/tasks.py b/coldfront/core/project/tasks.py index 2e8b1347d..13f863116 100644 --- a/coldfront/core/project/tasks.py +++ b/coldfront/core/project/tasks.py @@ -12,6 +12,7 @@ from coldfront.core.utils.mail import send_email_template, email_template_context, build_link TESTUSER = import_from_settings('TESTUSER') +EMAIL_ADMIN_LIST = import_from_settings('EMAIL_ADMIN_LIST') EMAIL_TICKET_SYSTEM_ADDRESS = import_from_settings('EMAIL_TICKET_SYSTEM_ADDRESS') DEPARTMENT_REPORT_RANKS = ('school', 'institution') @@ -123,6 +124,7 @@ def send_dept_storagereport_pdf(department, context=None): context, EMAIL_TICKET_SYSTEM_ADDRESS, receiver_list, + cc=EMAIL_ADMIN_LIST, attachments=(attachment,) ) except Exception as e: