Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 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

Attachments (0)

Change History (3)

comment:1 Changed 3 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 3 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 3 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.