Kaydet (Commit) 8715205c authored tarafından bmsleight's avatar bmsleight Kaydeden (comit) Simon Charette

Fixed a typo in a modelforms docs example.

üst 4c1fab0f
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment