.
This commit is contained in:
+3
-1
@@ -116,10 +116,12 @@ class SeriesTable(tables.Table):
|
|||||||
)
|
)
|
||||||
selection = tables.CheckBoxColumn(accessor="pk", orderable=False)
|
selection = tables.CheckBoxColumn(accessor="pk", orderable=False)
|
||||||
|
|
||||||
|
cases = tables.ManyToManyColumn(verbose_name="Cases")
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Series
|
model = Series
|
||||||
template_name = "django_tables2/bootstrap4.html"
|
template_name = "django_tables2/bootstrap4.html"
|
||||||
fields = ("modality", "examination", "atlas", "description", "author")
|
fields = ("modality", "examination", "description", "author")
|
||||||
sequence = ("view", "popup", "images")
|
sequence = ("view", "popup", "images")
|
||||||
|
|
||||||
def render_popup(self, value, record):
|
def render_popup(self, value, record):
|
||||||
|
|||||||
Reference in New Issue
Block a user