Skip to content
Snippets Groups Projects
Verified Commit c02fceae authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add missing .all().

parent e1a521bd
No related branches found
No related tags found
1 merge request!31WIP: Resolve "[Printout] lesson periods missing in week summary"
...@@ -174,7 +174,7 @@ def full_register_group(request: HttpRequest, id_: int) -> HttpResponse: ...@@ -174,7 +174,7 @@ def full_register_group(request: HttpRequest, id_: int) -> HttpResponse:
group group
).distinct().prefetch_related( ).distinct().prefetch_related(
'documentations', 'personal_notes' 'documentations', 'personal_notes'
) ).all()
weeks = CalendarWeek.weeks_within(group.school.current_term.date_start, group.school.current_term.date_end) weeks = CalendarWeek.weeks_within(group.school.current_term.date_start, group.school.current_term.date_end)
periods_by_day = {} periods_by_day = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment