From 9f397155094a9ae7911f45beb36befd02480a738 Mon Sep 17 00:00:00 2001 From: Dan Fellin Date: Wed, 11 Mar 2015 17:21:08 -0600 Subject: [PATCH] [1.8.x] Fixed typo in docs/topics/forms/modelforms.txt. Backport of 6ff826e12ea99c0eb871716cfedc2c8e199695f3 from master --- 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 eceaea81cdc..fb95750db31 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: