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:41:00 -0400 |
| commit | bd542cbff6800f1f8551395e02720d849f39b06e (patch) | |
| tree | 90ab2d2632d1c0cfb7f93dcf9d083a4516d5378d | |
| parent | da07f4b08fbf42fd71f15487d33301bb689f2655 (diff) | |
[1.7.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 97e640c97d..64532bc730 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -694,7 +694,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) |
