Changeset 7862
- Timestamp:
- 07/07/08 18:36:53 (6 months ago)
- Files:
-
- django/trunk/docs/upload_handling.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/upload_handling.txt
r7859 r7862 92 92 93 93 def handle_uploaded_file(f): 94 destination = open('some/file/name.txt', 'wb ')94 destination = open('some/file/name.txt', 'wb+') 95 95 for chunk in f.chunks(): 96 96 destination.write(chunk)
