From 497897e5af3f0326dca82257e844431b9b2e7f76 Mon Sep 17 00:00:00 2001 From: Andy Byers Date: Mon, 25 Nov 2024 11:21:58 +0000 Subject: [PATCH] fix: update prepub notifications description to use an f-string (#4505) --- src/utils/transactional_emails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/transactional_emails.py b/src/utils/transactional_emails.py index cddb57e3b..07b9fb893 100644 --- a/src/utils/transactional_emails.py +++ b/src/utils/transactional_emails.py @@ -1321,7 +1321,7 @@ def send_prepub_notifications(**kwargs): article = kwargs['article'] formset = kwargs['formset'] - description = """ + description = f""" {article.title} was set to be published {article.date_published} by {request.user.full_name()} """