Skip to content
Snippets Groups Projects
Commit 1ed0e73e authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Exclude substituted lessons from coursebook

parent bf526ea2
No related branches found
No related tags found
2 merge requests!352Draft: Resolve "Add dialog with each lesson's students",!350Resolve "Add simple course book list"
Pipeline #170440 failed
......@@ -530,7 +530,6 @@ class Documentation(CalendarEvent):
"""
# 1. Find all LessonEvents for all Lessons of this Course in this date range
# TODO: verify that substitutions don't break this
events = LessonEvent.get_single_events(
date_start,
date_end,
......@@ -538,6 +537,7 @@ class Documentation(CalendarEvent):
{
"type": obj_type,
"id": obj_id,
"not_amended": True,
},
with_reference_object=True,
)
......
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