From 6549d0350debbe6b7260896687a89a8acaa4af5c Mon Sep 17 00:00:00 2001 From: j Date: Thu, 28 Sep 2023 11:49:33 +0200 Subject: [PATCH] fix week title --- app/listmonk/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/listmonk/views.py b/app/listmonk/views.py index 67717ad..29052b1 100644 --- a/app/listmonk/views.py +++ b/app/listmonk/views.py @@ -27,8 +27,5 @@ def week(year, month, day): monday = context['this_week'] = date.strftime('%Y-%m-%d') context['this_year'] = date.strftime('%Y') context['week_title'] = 'Phantas.ma weekly update %s' % format_week(monday) - extra = models.Week.objects.filter(monday=context['this_week']).first() - if extra: - context['week_title'] += ': ' + extra.title context['items'] = archive_week return render_to_string("weekly_email.html", context)