diff --git a/biscuit/apps/chronos/tables.py b/biscuit/apps/chronos/tables.py index 5836ffa727881366ce6817af76b6c060a40a8c1a..0f4dc1b15783a0c3e596082a774a36f0b553fc93 100644 --- a/biscuit/apps/chronos/tables.py +++ b/biscuit/apps/chronos/tables.py @@ -24,6 +24,7 @@ class LessonsTable(tables.Table): lesson__teachers = tables.Column(accessor='lesson.teacher_names') lesson__subject = tables.Column(accessor='lesson.subject') room = tables.Column(accessor='room') + edit = tables.LinkColumn('edit_substitution_by_id', args=[A('id')]) def __init__(self, week, *args, **kwargs): self._week = week