Ticket #9404: uploadedfile_stringio_proxies.diff
File uploadedfile_stringio_proxies.diff, 694 bytes (added by , 16 years ago) |
---|
-
django/core/files/uploadedfile.py
127 127 # proxy methods to StringIO 128 128 def read(self, *args): return self._file.read(*args) 129 129 def seek(self, *args): return self._file.seek(*args) 130 def xreadlines(self): return iter(self._file) 131 def __iter__(self): return iter(self._file) 132 def readlines(self, size=None): return self._file.readlines(size) 130 133 def tell(self, *args): return self._file.tell(*args) 131 134 def close(self): return self._file.close()