From 12274c5f6820f810c48641988b14c71eba3a5361 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 11 Jun 2024 12:25:01 +0700 Subject: [PATCH] fix: wrong variable name --- basxbread/views/read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basxbread/views/read.py b/basxbread/views/read.py index bce1d39f..57370804 100644 --- a/basxbread/views/read.py +++ b/basxbread/views/read.py @@ -28,7 +28,7 @@ def __init__(self, *args, **kwargs): def get_layout(self): def get_helptext(f): try: - return self.model._meta.get_field(field).help_text + return self.model._meta.get_field(f).help_text except Exception: return ""