Coverage for apis_core/collections/tables.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.8, created at 2024-12-20 09:24 +0000

1from django_tables2 import TemplateColumn 

2 

3from apis_core.generic.tables import GenericTable 

4 

5 

6class SkosCollectionContentObjectTable(GenericTable): 

7 target = TemplateColumn( 

8 "<a href='{{ record.content_object.get_absolute_url }}'>{{ record.content_object }}</a>", 

9 orderable=False, 

10 )