summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Beaven <smileychris@gmail.com>2011-03-07 22:55:16 +0000
committerChris Beaven <smileychris@gmail.com>2011-03-07 22:55:16 +0000
commit32adde7fc9b2400eec5c7eec21bb411738321831 (patch)
tree25c02a68a3624e69385fbb0ed0bc052a028b2ba2 /docs
parentc47b69ba53e641938438898462d09b520f179578 (diff)
Fix the documentation of BoundField.value() to reference the correct method name
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/forms/api.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt
index 8e15a5e2d0..4a96779467 100644
--- a/docs/ref/forms/api.txt
+++ b/docs/ref/forms/api.txt
@@ -657,7 +657,7 @@ those classes as an argument::
>>> f['message'].css_classes('foo bar')
'foo bar required'
-.. method:: BoundField.values()
+.. method:: BoundField.value()
.. versionadded:: 1.3
@@ -667,9 +667,9 @@ by a ``Widget``::
>>> initial = {'subject': 'welcome'}
>>> unbound_form = ContactForm(initial=initial)
>>> bound_form = ContactForm(data, initial=initial)
- >>> print unbound_form['subject'].value
+ >>> print unbound_form['subject'].value()
welcome
- >>> print bound_form['subject'].value
+ >>> print bound_form['subject'].value()
hi
.. _binding-uploaded-files: