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

Add link column.

parent 6ac2f50b
No related branches found
No related tags found
1 merge request!9WIP: Add way to edit substitution
......@@ -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
......
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