From c02fceaea6e95340931f64be9be61649eb27c5f6 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Sun, 24 Nov 2019 22:04:39 +0100
Subject: [PATCH] Add missing .all().

---
 biscuit/apps/alsijil/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/biscuit/apps/alsijil/views.py b/biscuit/apps/alsijil/views.py
index e2be251c4..e3c9c5050 100644
--- a/biscuit/apps/alsijil/views.py
+++ b/biscuit/apps/alsijil/views.py
@@ -174,7 +174,7 @@ def full_register_group(request: HttpRequest, id_: int) -> HttpResponse:
         group
     ).distinct().prefetch_related(
         'documentations', 'personal_notes'
-    )
+    ).all()
 
     weeks = CalendarWeek.weeks_within(group.school.current_term.date_start, group.school.current_term.date_end)
     periods_by_day = {}
-- 
GitLab