.
This commit is contained in:
+1
-1
@@ -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
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user