summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fellin <dan@highwaterlabs.com>2015-03-11 17:21:08 -0600
committerTim Graham <timograham@gmail.com>2015-03-11 19:58:18 -0400
commit3d55798e9839a561b98bea80f5a70df7c9049fa0 (patch)
treec3543c426fb42773b64e86580289a7b76920bdf2
parent98d8e052eafc0640fbef3fa38e813424ee0aa5ce (diff)
[1.7.x] Fixed typo in docs/topics/forms/modelforms.txt.
Backport of 6ff826e12ea99c0eb871716cfedc2c8e199695f3 from master
-rw-r--r--docs/topics/forms/modelforms.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index a9fd890c2d..97e640c97d 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -698,7 +698,7 @@ and values from an attached model instance. For example::
>>> article.headline
'My headline'
>>> form = ArticleForm(initial={'headline': 'Initial headline'), instance=article)
- >>> form['pub_date'].value()
+ >>> form['headline'].value()
'Initial headline'
.. _modelforms-factory: