From cbdf65c22225d6955160ad3afe16979e42dd2b58 Mon Sep 17 00:00:00 2001 From: Hangzhi Yu <hangzhi@protonmail.com> Date: Wed, 17 Apr 2024 18:00:54 +0200 Subject: [PATCH] Remove uneeded comment --- aleksis/apps/chronos/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/aleksis/apps/chronos/models.py b/aleksis/apps/chronos/models.py index 1d9909b7..4334f3ef 100644 --- a/aleksis/apps/chronos/models.py +++ b/aleksis/apps/chronos/models.py @@ -1603,8 +1603,6 @@ class LessonEvent(CalendarEvent): events = LessonEvent.get_single_events( date_start, date_end, request, event_params, with_reference_object=True ) - # (1.5 filter them by permissions) - ... # 2. For each lessonEvent → check if there are any teachers with absences that overlap the lesson & if yes, check if there is already an amendment for that lesson # if so, add it to a list, if not, create a new one (no dummy creation here possible since teachers is a m2m field) -- GitLab