Skip to content

Commit

Permalink
fix: relations/all view
Browse files Browse the repository at this point in the history
  • Loading branch information
gythaogg committed Jan 17, 2024
1 parent 7a6405f commit 368577f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_core/relations/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(
fields = {k: v for k, v in self.fields.items() if k not in ["obj", "subj"]}

self.helper.layout = Layout(
HTML(f"<h3>{self._meta.model.name}</h3>"),
HTML(f"<h3>{self._meta.model.__name__}</h3>"),
div,
*fields,
)
Expand Down

0 comments on commit 368577f

Please sign in to comment.