Skip to content

Conversation

@edrik
Copy link

@edrik edrik commented May 7, 2021

Addresses #1089 by also trying the related_model._meta.verbose_name if there is not related_name.

Would probably be more correct to always use the related_model._meta.verbose_name considering that the related_name is not a translatable and needs additional mangling to remove _, but this addition would be backwards compatible and only fix the failing case.

@carltongibson
Copy link
Owner

Hi. Thanks for the input. This needs tests showing that the issue is addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants