Changes between Initial Version and Version 1 of Ticket #32354, comment 1


Ignore:
Timestamp:
Jan 14, 2021, 11:00:17 PM (3 years ago)
Author:
Guan

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32354, comment 1

    initial v1  
    1 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}}}.
     1The 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.** (https://docs.djangoproject.com/en/3.1/topics/db/models/) 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}}}.
Back to Top