#32354: HTML in verbose_name
-----------------------------+--------------------------------------
Reporter: Sergio Livi | Owner: nobody
Type: Bug | Status: closed
Component: Forms | Version: 3.1
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
Comment:
`verbose_name` should be ''"a human-readable name for the field"'', see
[https://docs.djangoproject.com/en/3.1/ref/models/fields/#verbose-name
docs]. You can use
[https://docs.djangoproject.com/en/3.1/ref/forms/api/#django.forms.BoundField.label
label] on a form field for using HTML in labels.
> So yeah, for starters: is there a better way to deal with acronymns in
my models?
Please use one of
[https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
support channels] for support questions.
--
Ticket URL: <https://code.djangoproject.com/ticket/32354#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.9a1b3bb0d6e04c7763bdac46f929cd2b%40djangoproject.com.