diff options
| author | SaeX <SaeX@users.noreply.github.com> | 2015-03-28 11:06:40 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-28 07:40:54 -0400 |
| commit | 6f69e77a9e811cf76e18eb39d4022ff73f746127 (patch) | |
| tree | f1dd1ceac97adc5b156b4d6a8f10597444459790 | |
| parent | 44a05a8a912596c44f37f050dcde85b45827b3b6 (diff) | |
[1.8.x] Fixed typo in docs/topics/forms/modelforms.txt
Backport of 19e41a9799079ddae3ba94f95d25577ab4232037 from master
| -rw-r--r-- | docs/topics/forms/modelforms.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index fb95750db3..8d5545d20c 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -686,7 +686,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) |
