From 6ff826e12ea99c0eb871716cfedc2c8e199695f3 Mon Sep 17 00:00:00 2001 From: Dan Fellin Date: Wed, 11 Mar 2015 17:21:08 -0600 Subject: [PATCH] Fixed typo in docs/topics/forms/modelforms.txt. --- docs/topics/forms/modelforms.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index b107b53b15..383284ad9b 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -691,7 +691,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: