summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/newforms.txt2
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::