Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions coldfront/core/project/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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:
Expand Down
Loading