diff --git a/docs/upload_handling.txt b/docs/upload_handling.txt
index 34cd085..30a71e7 100644
a
|
b
|
objects; see `UploadedFile objects`_ for a complete reference.
|
91 | 91 | Putting it all together, here's a common way you might handle an uploaded file:: |
92 | 92 | |
93 | 93 | def handle_uploaded_file(f): |
94 | | destination = open('some/file/name.txt', 'wb') |
95 | | for chunk in f.chunks(): |
| 94 | destination = open('some/file/name.txt', 'wb+') |
| 95 | for chunk in f.chunk(): |
96 | 96 | destination.write(chunk) |
97 | 97 | |
98 | 98 | Looping over ``UploadedFile.chunks()`` instead of using ``read()`` ensures that |