Source code for apis_core.relations.tables

from apis_core.generic.tables import CustomTemplateColumn, GenericTable


[docs] class RelationColumn(CustomTemplateColumn): template_name = "columns/relation.html" verbose_name = ""
[docs] class RelationsListTable(GenericTable): relation = RelationColumn()
[docs] class Meta: attrs = {"class": "table-sm"} sequence = GenericTable.Meta.sequence exclude = ("desc",)