[Django] #31951: verbose_name_plural does not overwrite names on list (admin)

43 views
Skip to first unread message

Django

unread,
Aug 27, 2020, 5:34:02 AM8/27/20
to django-...@googlegroups.com
#31951: verbose_name_plural does not overwrite names on list (admin)
-------------------------------------+-------------------------------------
Reporter: cidien37 | Owner: nobody
Type: Bug | Status: new
Component: | Version: 2.2
contrib.admin |
Severity: Normal | Keywords: verbose_name_plural
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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`

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

with `verbose_name`

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

--
Ticket URL: <https://code.djangoproject.com/ticket/31951>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 27, 2020, 6:04:31 AM8/27/20
to django-...@googlegroups.com
#31951: verbose_name_plural does not overwrite names on list (admin)
-------------------------------------+-------------------------------------
Reporter: Andrzej Dąbrowski | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 2.2
Severity: Normal | Resolution: invalid
Keywords: verbose_name_plural | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* status: new => closed
* resolution: => invalid


Comment:

> [[Image(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

--
Ticket URL: <https://code.djangoproject.com/ticket/31951#comment:1>

Reply all
Reply to author
Forward
0 new messages