Coverage for apis_core/relations/tables.py: 100%
10 statements
« prev ^ index » next coverage.py v7.6.8, created at 2024-12-20 09:24 +0000
« prev ^ index » next coverage.py v7.6.8, created at 2024-12-20 09:24 +0000
1from apis_core.generic.tables import CustomTemplateColumn, GenericTable
4class RelationColumn(CustomTemplateColumn):
5 template_name = "columns/relation.html"
6 verbose_name = ""
9class RelationsListTable(GenericTable):
10 relation = RelationColumn()
12 class Meta:
13 attrs = {"class": "table-sm"}
14 sequence = GenericTable.Meta.sequence
15 exclude = ("desc",)