From 577d4aeae130d80cfd55f88e91305885458fa95c Mon Sep 17 00:00:00 2001 From: Ricardo Branco Date: Mon, 3 Jul 2023 13:43:20 +0200 Subject: [PATCH] Fix invalid-overridden-method --- ocw/tables.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ocw/tables.py b/ocw/tables.py index b9d667d5..6eec6608 100644 --- a/ocw/tables.py +++ b/ocw/tables.py @@ -11,6 +11,7 @@ class NoHeaderLinkColumn(tables.LinkColumn): + @property def header(self): return "" @@ -20,6 +21,7 @@ def __init__(self, *args, **kwargs): kwargs['accessor'] = 'pk' super().__init__(*args, **kwargs) + @property def header(self): return "" @@ -32,6 +34,7 @@ def render(self, record): class MailColumn(tables.BooleanColumn): + @property def header(self): return ""