From 8715205c5c0e49b21b5bbea35d904713ee188a71 Mon Sep 17 00:00:00 2001 From: bmsleight Date: Sat, 9 Jan 2016 17:51:34 +0000 Subject: [PATCH] Fixed a typo in a modelforms docs example. --- 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 46a1cbe774..5bbb35dcb0 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -1023,7 +1023,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.