From af4149281b92e0cf120ed8fa34e4bf8ffd52d83a Mon Sep 17 00:00:00 2001 From: mhewel <58829786+mhewel@users.noreply.github.com> Date: Sun, 24 Sep 2023 12:23:11 +0200 Subject: [PATCH] =?UTF-8?q?Tilf=C3=B8je=20template=20til=20context?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- members/admin/admin_actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/members/admin/admin_actions.py b/members/admin/admin_actions.py index cc1a4885..ea4702be 100644 --- a/members/admin/admin_actions.py +++ b/members/admin/admin_actions.py @@ -90,6 +90,7 @@ class MassInvitationForm(forms.Form): context["persons"] = persons context["queryset"] = queryset + context["emailtemplate"] = template if request.method == "POST" and "activity" in request.POST: # Post request with data