#1884 closed enhancement (fixed)
[patch] Make django.db.models.options.get_verbose_name smarter
| Reported by: | Alex Dedul | Owned by: | Adrian Holovaty |
|---|---|---|---|
| Component: | Metasystem | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When you have model named like VPNAccount current get_verbose_name function results in "v p n account" so your permission names and content_type name looks not so good, while its apparent that you expect "vpn account". Patch below is to fix this behavoiur to saner one.
Attachments (1)
Change History (2)
by , 20 years ago
| Attachment: | get_verbose_name.patch added |
|---|
comment:1 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
get_verbose_name patch