Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14848 closed (fixed)

model verbose name

Reported by: madisv Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

the docs say:
The convention is not to capitalize the first letter of the verbose_name. Django will automatically capitalize the first letter where it needs to.

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

http://docs.djangoproject.com/en/1.2/topics/db/models/#verbose-field-names

I know this is a very minor thing but just to be correct

Change History (3)

comment:1 Changed 5 years ago by timo

  • Component changed from Uncategorized to Documentation
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by timo

  • Resolution set to fixed
  • Status changed from new to closed

(In [14917]) Fixed #14848 - change example verbose name to match convention. thanks madisv for the suggestion.

comment:3 Changed 5 years ago by timo

(In [14918]) [1.2.X] Fixed #14848 - change example verbose name to match convention. thanks madisv for the suggestion.

Backport of r14917 from trunk.

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