[Django] #33188: Configurable default verbose_name for models

8 views
Skip to first unread message

Django

unread,
Oct 11, 2021, 8:31:39 AM10/11/21
to django-...@googlegroups.com
#33188: Configurable default verbose_name for models
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
unrealsolver |
Type: New | Status: new
feature |
Component: Database | Version: 3.2
layer (models, ORM) |
Severity: Normal | Keywords: verbose_name models
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Currently, verbose name is generated as
{{{
self.verbose_name = camel_case_to_spaces(self.object_name)
}}}
(see Options.py for more details)
But I'd like to also use `capfirst`, so it will be nice to be able to
configure default behavior across the app.

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

Django

unread,
Oct 11, 2021, 9:27:28 AM10/11/21
to django-...@googlegroups.com
#33188: Configurable default verbose_name for models
-------------------------------------+-------------------------------------
Reporter: Ruslan | Owner: nobody
Type: New feature | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: wontfix

Keywords: verbose_name models | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

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

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


Comment:

Thanks for the proposal, but I don't think such customization is likely to
be used by enough people to justify the feature.

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

Reply all
Reply to author
Forward
0 new messages