Skip to content

Move verbose_name and verbose_name_plural from TaggedItem to ItemBase#938

Open
Esmat434 wants to merge 1 commit intojazzband:masterfrom
Esmat434:move-verbose-name-to-itembase
Open

Move verbose_name and verbose_name_plural from TaggedItem to ItemBase#938
Esmat434 wants to merge 1 commit intojazzband:masterfrom
Esmat434:move-verbose-name-to-itembase

Conversation

@Esmat434
Copy link
Copy Markdown

This PR addresses #158.

It moves the verbose_name and verbose_name_plural attributes from TaggedItem to ItemBase.

All classes inheriting from ItemBase (including GenericTaggedItemBase and TaggedItemBase) will now automatically have these attributes.
This avoids the need for developers to redefine them in custom subclasses, solving the reported issue.

No change in existing behavior for TaggedItem itself, since the default values remain the same.

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