Browse files

Another typo in docs/newforms.txt

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
ubernostrum committed Apr 8, 2008
1 parent 25c0908 commit 1972f0522ab07f88eea526d2f8e1e19dbfa06dab
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 1972f05

Please sign in to comment.