summaryrefslogtreecommitdiff
path: root/django/core/files/uploadhandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/files/uploadhandler.py')
-rwxr-xr-x[-rw-r--r--]django/core/files/uploadhandler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py
index 6a0eebe43e..f6945853fe 100644..100755
--- a/django/core/files/uploadhandler.py
+++ b/django/core/files/uploadhandler.py
@@ -180,6 +180,7 @@ class MemoryFileUploadHandler(FileUploadHandler):
if not self.activated:
return
+ self.file.seek(0)
return InMemoryUploadedFile(
file = self.file,
field_name = self.field_name,