Browse files

Fixed #7638, a small typo in uploading files docs. Thanks, Horst Gut…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
jacobian committed Jul 7, 2008
1 parent f804e7f commit 33666ef829615b98937b739ecca8adf413d1418c
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/upload_handling.txt
@@ -91,7 +91,7 @@ objects; see `UploadedFile objects`_ for a complete reference.
Putting it all together, here's a common way you might handle an uploaded file::
def handle_uploaded_file(f):
- destination = open('some/file/name.txt', 'wb')
+ destination = open('some/file/name.txt', 'wb+')
for chunk in f.chunks():

0 comments on commit 33666ef

Please sign in to comment.