This commit is contained in:
Ross
2021-02-14 18:08:16 +00:00
parent 61b9921702
commit d8b622f58f
+3 -3
View File
@@ -54,13 +54,13 @@ class LongTable(tables.Table):
)
series = LongImageColumn("Images", orderable=False)
#exams = tables.ManyToManyColumn(verbose_name="Exams")
exams = tables.ManyToManyColumn(verbose_name="Exams")
class Meta:
model = Long
template_name = "django_tables2/bootstrap4.html"
fields = ("exams", "created_date", "author")
sequence = ("view", "series")
fields = ("created_date", "author")
sequence = ("view", "series", "exams")
class PopupLinkColumn(tables.Column):
def render(self, value):