From b886cacc588b998944f23f591429dfcfe3e98304 Mon Sep 17 00:00:00 2001 From: ubernostrum Date: Tue, 8 Apr 2008 06:35:37 +0000 Subject: [PATCH] Another typo in docs/newforms.txt git-svn-id: http://code.djangoproject.com/svn/django/trunk@7409 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/newforms.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/newforms.txt b/docs/newforms.txt index 20b41316..25d80fda 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -1555,7 +1555,7 @@ representing a foreign key. The ``__unicode__`` method of the model will be called to generate string representations of the objects for use in the field's choices; to provide customized representations, subclass ``ModelChoiceField`` -and override ``label_for_model``. This method will receive a model +and override ``label_from_instance``. This method will receive a model object, and should return a string suitable for representing it. For example:: -- 2.11.4.GIT