Opened 12 years ago

Closed 12 years ago

#18955 closed Uncategorized (invalid)

verbose-field-names example in documents (models) ,the example,"first name" a clerical error

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: verbose-field-names
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://docs.djangoproject.com/en/1.4/topics/db/models/#verbose-field-names

In this example, the verbose name is "person's first name":

first_name = models.CharField("person's first name", max_length=30)
In this example, the verbose name is "first name":

the "In this example, the verbose name is "first name":" should be "In this example, the verbose name is "person's first name":" ?

Change History (1)

comment:1 by Tim Graham, 12 years ago

Resolution: invalid
Status: newclosed

This looks correct to me. The verbose name "first name" corresponds to the next line where verbose_name isn't explicitly defined so "first name" is the automatically generated name from the field name "first_name".

Note: See TracTickets for help on using tickets.
Back to Top