Ticket #7812: inmemoryupload_fileseek.patch

File inmemoryupload_fileseek.patch, 415 bytes (added by Ivan Giuliani, 16 years ago)
  • django/core/files/uploadedfile.py

     
    223223        self.seek(0)
    224224
    225225    def read(self, *args, **kwargs):
     226        self.file.seek(0)
    226227        return self.file.read(*args, **kwargs)
    227228
    228229    def chunks(self, chunk_size=None):
Back to Top