Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Small cleanup of docs/model-api.txt change from [4625]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b21fd1e45114a5dcb62668b8d5cccd71094bee28 1 parent 96604fd
Adrian Holovaty adrianholovaty authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 docs/model-api.txt
7 docs/model-api.txt
View
@@ -498,10 +498,9 @@ or outside your model class altogether::
class Foo(models.Model):
gender = models.CharField(maxlength=1, choices=GENDER_CHOICES)
-For each field on your model which has ``choices`` set, Django will
-add a method to retrieve the human-readable name for the field's
-current value; see `get_FOO_display`_ in the database API
-documentation.
+For each model field that has ``choices`` set, Django will add a method to
+retrieve the human-readable name for the field's current value. See
+`get_FOO_display`_ in the database API documentation.
.. _get_FOO_display: ../db_api/#get-foo-display
Please sign in to comment.
Something went wrong with that request. Please try again.