Skip to content

Commit

Permalink
fix: wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
saemideluxe committed Jun 11, 2024
1 parent 289d62b commit 12274c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basxbread/views/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""

Expand Down

0 comments on commit 12274c5

Please sign in to comment.