.
This commit is contained in:
+3
-3
@@ -54,13 +54,13 @@ class LongTable(tables.Table):
|
|||||||
)
|
)
|
||||||
series = LongImageColumn("Images", orderable=False)
|
series = LongImageColumn("Images", orderable=False)
|
||||||
|
|
||||||
#exams = tables.ManyToManyColumn(verbose_name="Exams")
|
exams = tables.ManyToManyColumn(verbose_name="Exams")
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Long
|
model = Long
|
||||||
template_name = "django_tables2/bootstrap4.html"
|
template_name = "django_tables2/bootstrap4.html"
|
||||||
fields = ("exams", "created_date", "author")
|
fields = ("created_date", "author")
|
||||||
sequence = ("view", "series")
|
sequence = ("view", "series", "exams")
|
||||||
|
|
||||||
class PopupLinkColumn(tables.Column):
|
class PopupLinkColumn(tables.Column):
|
||||||
def render(self, value):
|
def render(self, value):
|
||||||
|
|||||||
Reference in New Issue
Block a user