This commit is contained in:
Ross
2021-12-04 23:21:12 +00:00
parent 1b6631c8cf
commit 2ca2ea2983
+3 -1
View File
@@ -116,10 +116,12 @@ class SeriesTable(tables.Table):
)
selection = tables.CheckBoxColumn(accessor="pk", orderable=False)
cases = tables.ManyToManyColumn(verbose_name="Cases")
class Meta:
model = Series
template_name = "django_tables2/bootstrap4.html"
fields = ("modality", "examination", "atlas", "description", "author")
fields = ("modality", "examination", "description", "author")
sequence = ("view", "popup", "images")
def render_popup(self, value, record):