#31951 closed Bug (invalid)

verbose_name_plural does not overwrite names on list (admin)

Reported by: Andrzej Dąbrowski Owned by: nobody
Component: contrib.admin Version: 2.2
Severity: Normal Keywords: verbose_name_plural
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If we need overwrite model verbose name on list at django admin we need to set verbose_name_plural and verbose_name too at model Meta.

without verbose_name

https://i.ibb.co/93n5KbJ/Zrzut-ekranu-z-2020-08-27-11-26-19.png
https://i.ibb.co/kmSxxBp/Zrzut-ekranu-z-2020-08-27-11-29-30.png

with verbose_name

https://i.ibb.co/pfbJygH/Zrzut-ekranu-z-2020-08-27-11-31-49.png
https://i.ibb.co/FHp8Y5C/Zrzut-ekranu-z-2020-08-27-11-33-05.png

Change History (1)

comment:1 in reply to:  description Changed 10 months ago by Mariusz Felisiak

Resolution: invalid
Status: newclosed

https://i.ibb.co/kmSxxBp/Zrzut-ekranu-z-2020-08-27-11-29-30.png

This page uses verbose_name so yes you need to set it. I don't see any issue here. verbose_name and verbose_name_plural don't depend on each other.

Closing per TicketClosingReasons/UseSupportChannels

Note: See TracTickets for help on using tickets.
Back to Top