| Total Complexity | 0 |
| Total Lines | 8 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import django_tables2 as tables |
||
| 7 | class CustomPersonTable(tables.Table): |
||
| 8 | name = tables.LinkColumn('example-people-detail', args=[A('pk')]) |
||
| 9 | selection = tables.CheckBoxColumn(accessor='pk') |
||
| 10 | |||
| 11 | class Meta: |
||
| 12 | model = Person |
||
| 13 | attrs = {"class": "table table-bordered table-condensed"} |
||
| 14 | fields = ('name', 'email', 'selection') |
||
| 15 |