1
0
mirror of https://github.com/django/django.git synced 2025-05-29 10:16:30 +00:00

Fixed #14848 - change example verbose name to match convention. thanks madisv for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham 2010-12-14 23:43:36 +00:00
parent c3143783ca
commit dc2a3f8280

View File

@ -253,9 +253,9 @@ argument -- a verbose name. If the verbose name isn't given, Django will
automatically create it using the field's attribute name, converting underscores automatically create it using the field's attribute name, converting underscores
to spaces. to spaces.
In this example, the verbose name is ``"Person's first name"``:: In this example, the verbose name is ``"person's first name"``::
first_name = models.CharField("Person's first name", max_length=30) first_name = models.CharField("person's first name", max_length=30)
In this example, the verbose name is ``"first name"``:: In this example, the verbose name is ``"first name"``::