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:14 -0400
commit9f397155094a9ae7911f45beb36befd02480a738 (patch)
tree0a97e467e3aef1b50d1f1875260cd4e2fcb30e8a
parente0e2df412f530d186e35016d0a920a03b508ddd1 (diff)
[1.8.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 eceaea81cd..fb95750db3 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -690,7 +690,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: