From b21fd1e45114a5dcb62668b8d5cccd71094bee28 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 26 Feb 2007 21:52:22 +0000 Subject: [PATCH] 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 --- docs/model-api.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/model-api.txt b/docs/model-api.txt index 51f4b72c22..1e7f69903d 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -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