summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2014-05-25 22:52:47 +0200
committerFlorian Apolloner <florian@apolloner.eu>2014-06-11 09:03:11 +0200
commit1ff11304dcebbabdede8ef3d659ca0e54055e2fd (patch)
treec3924926cdd778492c63059e781c92fee720b9b2 /docs
parentde0e285be80e0ca756088a97335d8faa698fbe6b (diff)
[1.7.x] Fixed #22680 -- I/O operation on closed file.
This patch is two-fold; first it ensure that Django does close everything in request.FILES at the end of the request and secondly the storage system should no longer close any files during save, it's up to the caller to handle that -- or let Django close the files at the end of the request. Backport of e2efc8965edf684aaf48621680ef54b84e116576 from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.7.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index d70c40a057..e8f25a45e1 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -504,6 +504,10 @@ File Uploads
attribute is now optional. If it is omitted or given ``None`` or an empty
string, a subdirectory won't be used for storing the uploaded files.
+* Uploaded files are now explicitly closed before the response is delivered to
+ the client. Partially uploaded files are also closed as long as they are
+ named ``file`` in the upload handler.
+
Forms
^^^^^