Skip to content

Commit 4a44f4b

Browse files
committed
Fix bug in proxy updates from typing
1 parent f2419e9 commit 4a44f4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/odin/proxy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def contribute_to_class(self, cls, _): # noqa: PLR0912
101101
value = meta_attrs.pop(attr_name)
102102
match attr_name:
103103
case "verbose_name":
104+
proxy_attrs["verbose_name"] = value
104105
# If defined generate pluralised form base on this name.
105106
if "verbose_name_plural" not in proxy_attrs:
106107
proxy_attrs["verbose_name_plural"] = value + "s"

0 commit comments

Comments
 (0)