From 5929146d5df431dc6aaa40c7b91228c95bea108a Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 4 Dec 2021 23:24:35 +0000 Subject: [PATCH] . --- atlas/tables.py | 2 +- longs/tables.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/atlas/tables.py b/atlas/tables.py index 6b63a59d..5725043d 100755 --- a/atlas/tables.py +++ b/atlas/tables.py @@ -122,7 +122,7 @@ class SeriesTable(tables.Table): model = Series template_name = "django_tables2/bootstrap4.html" fields = ("modality", "examination", "description", "author") - sequence = ("view", "popup", "images") + sequence = ("view", "popup", "images", "case") def render_popup(self, value, record): print(self) diff --git a/longs/tables.py b/longs/tables.py index c9743272..48a35ed1 100755 --- a/longs/tables.py +++ b/longs/tables.py @@ -103,10 +103,12 @@ class LongSeriesTable(tables.Table): ) selection = tables.CheckBoxColumn(accessor="pk", orderable=False) + long = tables.ManyToManyColumn(verbose_name="Question") + class Meta: model = LongSeries template_name = "django_tables2/bootstrap4.html" - fields = ("modality", "examination", "long", "description", "author") + fields = ("modality", "examination", "description", "author") sequence = ("view", "popup", "images") def render_popup(self, value, record):