diff --git a/biscuit/apps/chronos/tables.py b/biscuit/apps/chronos/tables.py index f6e541e63a1cbabbd389cfca7114f1b41407d054..90075c03db5d0277129057202e3563d277e6f984 100644 --- a/biscuit/apps/chronos/tables.py +++ b/biscuit/apps/chronos/tables.py @@ -6,8 +6,8 @@ class LessonsTable(tables.Table): class Meta: attrs = {'class': 'table table-striped table-bordered table-hover table-responsive-xl'} - period__period = tables.Column() - lesson__groups = tables.Column() - lesson_teachers = tables.Column() - lesson_subject = tables.Column() - room = tables.Column() + period__period = tables.Column(accessor='period.period') + lesson__groups = tables.Column(accessor='lesson.groups') + lesson__teachers = tables.Column(accessor='lesson.teachers') + lesson__subject = tables.Column(accessor='lesson.subject') + room = tables.Column(accessor='room')