1
0
mirror of https://github.com/django/django.git synced 2025-06-13 15:39:13 +00:00

Fixed a typo in a modelforms docs example.

This commit is contained in:
bmsleight 2016-01-09 17:51:34 +00:00 committed by Simon Charette
parent 4c1fab0f29
commit 8715205c5c

View File

@ -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.