diff options
| author | James Bennett <ubernostrum@gmail.com> | 2008-04-08 06:35:37 +0000 |
|---|---|---|
| committer | James Bennett <ubernostrum@gmail.com> | 2008-04-08 06:35:37 +0000 |
| commit | 1972f0522ab07f88eea526d2f8e1e19dbfa06dab (patch) | |
| tree | 1d6828201c1f55e1bd8ac5df504cc3d2c5397101 /docs | |
| parent | 25c0908ffdc9af2d73f8055c175e30ca82e1b981 (diff) | |
Another typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/newforms.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt index 20b413168b..25d80fda54 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:: |
