From 573d837dbb927860cd12f6e971fc7fe52f5cb8e2 Mon Sep 17 00:00:00 2001 From: KK Date: Mon, 1 Jul 2024 13:15:55 +0200 Subject: [PATCH] feat(tables): add logging to help with debugging --- apis_ontology/tables.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apis_ontology/tables.py b/apis_ontology/tables.py index 11cde1c..222eb5f 100644 --- a/apis_ontology/tables.py +++ b/apis_ontology/tables.py @@ -1,3 +1,5 @@ +import logging + import django_tables2 as tables from apis_core.apis_entities.tables import AbstractEntityTable from django.utils.translation import gettext_lazy as _ @@ -20,6 +22,9 @@ ) +logger = logging.getLogger(__name__) + + class GenericEditLinkColumn(tables.Column): linkify = { "viewname": "apis:generic:update",