Source code for apis_core.apis_entities.tables

from apis_core.generic.tables import ActionColumn, GenericTable


[docs] class DuplicateColumn(ActionColumn): """ A column showing a view button """ template_name = "columns/duplicate.html" permission = "create"
[docs] class AbstractEntityTable(GenericTable): noduplicate = DuplicateColumn()
[docs] class Meta(GenericTable.Meta): sequence = ("...", "view", "edit", "delete", "noduplicate")