I've created my table output with django-tables2, but I want a specific name in the table column for the check-boxes.
How can I do that ?
Here is my class for the table drawing, I've modified the sequence of the columns so that my check-box is the first one.
class SimpleTable(tables.Table):
amend = tables.CheckBoxColumn(verbose_name=('Amend'), accessor='pk')
class Meta:
model = SysimpReleaseTracker
attrs = {"class": "paleblue"}
listAttrs = list()
listAttr = list()
listAttrs = SysimpReleaseTracker._meta.fields
listAttr.append('amend')
for x in listAttrs:
listAttr.append('%s' %x.name)
sequence = listAttr