From bc3fdbe7a711bc607bc1288bb2fb372f7927ea98 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 25 Mar 2020 14:54:26 +0100 Subject: [PATCH] Add docstring --- apps/note/tables.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/note/tables.py b/apps/note/tables.py index c02fdf32..328f620a 100644 --- a/apps/note/tables.py +++ b/apps/note/tables.py @@ -66,6 +66,9 @@ class HistoryTable(tables.Table): return html.unescape(value) def render_valid(self, value, record): + """ + When the validation status is hovered, an input field is displayed to let the user specify an invalidity reason + """ val = "✔" if value else "✖" val += "