mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
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.
This commit is contained in:
parent
a1c6cd6a16
commit
e2efc8965e
10 changed files with 79 additions and 6 deletions
|
@ -15,4 +15,5 @@ urlpatterns = [
|
|||
url(r'^getlist_count/$', views.file_upload_getlist_count),
|
||||
url(r'^upload_errors/$', views.file_upload_errors),
|
||||
url(r'^filename_case/$', views.file_upload_filename_case_view),
|
||||
url(r'^fd_closing/(?P<access>t|f)/$', views.file_upload_fd_closing),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue