Opened 7 years ago
Closed 7 years ago
#29207 closed Bug (invalid)
Admin.py ignores a verbose_name_plural
Reported by: | Gus | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 2.0 |
Severity: | Normal | Keywords: | verbose_name_plural |
Cc: | Alex Stovbur | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If I set up a:
class LoanStatusAdmin(admin.ModelAdmin): list_display = ['title'] verbose_name = "Loan Status" verbose_name_plural = "Loan Status"
Keeps showing me: "Loan statuss"
Django: 2.0.3
Python: 3.6.3
Thanks,
Gus
Change History (3)
comment:2 by , 7 years ago
Cc: | added |
---|
comment:3 by , 7 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
verbose_name
and verbose_name_plural
should be set on the Meta
class of the model itself, not the admin model.
Note:
See TracTickets
for help on using tickets.
Replying to Gus:
Did you tried to use the Meta class? Something like this: