Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Brian Rosner authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/forms/modelforms.txt
2  docs/topics/forms/modelforms.txt
@@ -521,7 +521,7 @@ formset to a user to edit ``Author`` model instances::
521 521
 
522 522
     def manage_authors(request):
523 523
         AuthorFormSet = modelformset_factory(Author)
524  
-        if request.POST == 'POST':
  524
+        if request.method == 'POST':
525 525
             formset = AuthorFormSet(request.POST, request.FILES)
526 526
             if formset.is_valid():
527 527
                 formset.save()

0 notes on commit 1a22962

Please sign in to comment.
Something went wrong with that request. Please try again.