Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #9056 -- Corrected a typo in topic/forms/modelforms.txt documen…

…tation. Thanks drozzy for catching this.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1a2296267d034c6cf4dbac6709d9c9f77787bbcf 1 parent 1b58b77
@brosner brosner authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/forms/modelforms.txt
View
2  docs/topics/forms/modelforms.txt
@@ -521,7 +521,7 @@ formset to a user to edit ``Author`` model instances::
def manage_authors(request):
AuthorFormSet = modelformset_factory(Author)
- if request.POST == 'POST':
+ if request.method == 'POST':
formset = AuthorFormSet(request.POST, request.FILES)
if formset.is_valid():
formset.save()
Please sign in to comment.
Something went wrong with that request. Please try again.