From 19e41a9799079ddae3ba94f95d25577ab4232037 Mon Sep 17 00:00:00 2001 From: SaeX Date: Sat, 28 Mar 2015 11:06:40 +0100 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 383284ad9b..b660308891 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -687,7 +687,7 @@ specifying an ``initial`` parameter when instantiating the form. Initial values provided this way will override both initial values from the form field and values from an attached model instance. For example:: - >>> article = Article.objects.get(pk1=) + >>> article = Article.objects.get(pk=1) >>> article.headline 'My headline' >>> form = ArticleForm(initial={'headline': 'Initial headline'), instance=article)