Skip to content
Snippets Groups Projects
Commit b367816d authored by permcu's avatar permcu
Browse files

TODO -> DONE

parent a574a5ab
No related branches found
No related tags found
1 merge request!50Resolve "Implement bundled courses/lessons"
Pipeline #194770 failed
......@@ -403,8 +403,6 @@ class LessonBundle(ExtensibleModel):
if self.slot_start.time_grid != self.slot_end.time_grid:
raise ValidationError(_("The slots must be in the same time grid."))
# TODO: @hansegucker Does it still work as intended if moved from Lesson to LessonBundle?
# LessonBundle has the recurrence now.
def build_recurrence(self, *args, **kwargs) -> "recurrence.Recurrence":
"""Build a recurrence for this lesson respecting the validity range borders."""
return self.slot_start.build_recurrence(*args, slot_end=self.slot_end, **kwargs)
......
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