#32354: HTML in verbose_name
-----------------------------+--------------------------------------
     Reporter:  Sergio Livi  |                    Owner:  nobody
         Type:  Bug          |                   Status:  new
    Component:  Forms        |                  Version:  3.1
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Unreviewed
    Has patch:  0            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+--------------------------------------

Comment (by Guan):

 The document notes that: **The convention is not to capitalize the first
 letter of the verbose_name. Django will automatically capitalize the first
 letter where it needs to.** So I think "move the {{{capfirst}}} directly
 to {{{set_attributes_from_name}}}" is not probably proper. The better way
 I have just thought is to keep original type: pass {{{SaveString}}} and
 return {{{SafeString}}}.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32354#comment:1>
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.480ba4e91cd56d4356a9880895ea560b%40djangoproject.com.

Reply via email to