diff options
| author | bmsleight <bms.git@barwap.com> | 2016-01-09 17:51:34 +0000 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2016-01-09 13:00:59 -0500 |
| commit | 8715205c5c0e49b21b5bbea35d904713ee188a71 (patch) | |
| tree | 974eff0afa2e4e4b1e087e1d296a3aec7b8a031a /docs | |
| parent | 4c1fab0f293684162cfdb7b8818c571683c05f40 (diff) | |
Fixed a typo in a modelforms docs example.
Diffstat (limited to 'docs')
| -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 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. |
