Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #11055: fixed a regression in [10717] that caused uploaded file…

…s to have incorrectly set file pointers. They're now, as before, reset to the beginning upon successful upload.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 772f68c20e8de89a6b029a0ff498f6120912af07 1 parent baaf298
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/core/files/uploadhandler.py
1  django/core/files/uploadhandler.py 100644 → 100755
View
@@ -180,6 +180,7 @@ def file_complete(self, file_size):
if not self.activated:
return
+ self.file.seek(0)
return InMemoryUploadedFile(
file = self.file,
field_name = self.field_name,
Please sign in to comment.
Something went wrong with that request. Please try again.