From 1418f7530455abf3e6f743164ae15ee6b2566a3c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 22 Apr 2015 09:31:10 -0400 Subject: [PATCH] Fixed #24684 -- 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 b299a4b775..2e75695f53 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 = Article.objects.get(pk=1) >>> article.headline 'My headline' - >>> form = ArticleForm(initial={'headline': 'Initial headline'), instance=article) + >>> form = ArticleForm(initial={'headline': 'Initial headline'}, instance=article) >>> form['headline'].value() 'Initial headline'