summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbmsleight <bms.git@barwap.com>2016-01-09 17:51:34 +0000
committerSimon Charette <charette.s@gmail.com>2016-01-09 13:04:51 -0500
commit577ea02977c90f37d3e4bc617f66fa97da7a10b7 (patch)
tree0f010dc7a5b39190a860498dd384695665970042 /docs
parent3503b816cf449c7c94766c8f3f890a52083db392 (diff)
[1.9.x] Fixed a typo in a modelforms docs example.
Backport of 8715205c5c0e49b21b5bbea35d904713ee188a71 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/forms/modelforms.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index 67b8ba510d..0f690aae46 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -1033,7 +1033,7 @@ formset::
# Do something.
else:
formset = AuthorFormSet(queryset=Author.objects.filter(name__startswith='O'))
- return render(request, 'manage_authors.html", {'formset': formset})
+ return render(request, 'manage_authors.html', {'formset': formset})
Note that we pass the ``queryset`` argument in both the ``POST`` and ``GET``
cases in this example.