From 5ce0a679fba35b96e38c2d3c5f324e2d3aa84b14 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sat, 9 Nov 2024 09:58:40 +1100 Subject: [PATCH] Add event detail to call for papers in weekly email fixes #18 --- blogs/management/commands/send_weekly_email.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blogs/management/commands/send_weekly_email.py b/blogs/management/commands/send_weekly_email.py index d55c8a8..88a19d4 100644 --- a/blogs/management/commands/send_weekly_email.py +++ b/blogs/management/commands/send_weekly_email.py @@ -133,11 +133,11 @@ class Command(BaseCommand): for instance in cfps: c_date = instance.closing_date title_string = ( - f"

{instance.name}

" + f"

{instance.event.name} - {instance.name}

" ) dates_string = f"

Closes:{c_date:%a} {c_date.day} {c_date:%B}

" description_string = ( - f"

{instance.details}

" + f"

{instance.details}

{instance.event.description}

" ) string_list = [title_string, dates_string, description_string]