From 2dbee62658f6ac98bf4b50281365c6fef22ac493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=20Gramn=C3=A6s=20Tjernshaugen?= Date: Tue, 14 Jan 2025 21:42:54 +0100 Subject: [PATCH] Update docstrings for handle_attended and handle_paid to reflect changes --- apps/events/dashboard/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/events/dashboard/utils.py b/apps/events/dashboard/utils.py index db10ef662..3ff3e5fc5 100644 --- a/apps/events/dashboard/utils.py +++ b/apps/events/dashboard/utils.py @@ -45,7 +45,7 @@ def event_ajax_handler(event: Event, request): def handle_attended(attendee: Attendee, value: bool): """ - Toggle attending-status of an attendee between attending and not attending + Set attending-status of an attendee to attending or not attending """ attendee.attended = value attendee.save() @@ -55,7 +55,7 @@ def handle_attended(attendee: Attendee, value: bool): def handle_paid(attendee: Attendee, value: bool): """ - Toggle paid status of an attendee between paid and not paid + Set paid status of an attendee to paid or not paid """ attendee.paid = value attendee.save()