jazzband/django-taggit

Move verbose_name and verbose_name_plural from TaggedItem to ItemBase

Aperta

#158 aperta il 9 set 2013

 (1 commento) (0 reazioni) (0 assegnatari)Python (632 fork)user submission
enhancementgood first issue

Metriche repository

Star
 (3444 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I think it makes sense to move the verbose_name and verbose_name_plural attributes (https://github.com/alex/django-taggit/blob/develop/taggit/models.py#L157) to ItemBase from TaggedItem since if anyone just extends GenericTaggedItemBase or TaggedItemBase will have to define those attributes as well.

Guida contributor