Ticket #11055: 11055-rewind-file.patch
File 11055-rewind-file.patch, 485 bytes (added by , 16 years ago) |
---|
-
django/core/files/uploadhandler.py
diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py old mode 100644 new mode 100755 index 6a0eebe..f694585
a b class MemoryFileUploadHandler(FileUploadHandler): 180 180 if not self.activated: 181 181 return 182 182 183 self.file.seek(0) 183 184 return InMemoryUploadedFile( 184 185 file = self.file, 185 186 field_name = self.field_name,