This commit is contained in:
Ross
2021-12-04 23:24:35 +00:00
parent 7efb8b7107
commit 5929146d5d
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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)
+3 -1
View File
@@ -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):