mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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 e2efc8965e from master.
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			768 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			768 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.conf.urls import patterns
 | |
| 
 | |
| from . import views
 | |
| 
 | |
| 
 | |
| urlpatterns = patterns('',
 | |
|     (r'^upload/$', views.file_upload_view),
 | |
|     (r'^verify/$', views.file_upload_view_verify),
 | |
|     (r'^unicode_name/$', views.file_upload_unicode_name),
 | |
|     (r'^echo/$', views.file_upload_echo),
 | |
|     (r'^echo_content_type_extra/$', views.file_upload_content_type_extra),
 | |
|     (r'^echo_content/$', views.file_upload_echo_content),
 | |
|     (r'^quota/$', views.file_upload_quota),
 | |
|     (r'^quota/broken/$', views.file_upload_quota_broken),
 | |
|     (r'^getlist_count/$', views.file_upload_getlist_count),
 | |
|     (r'^upload_errors/$', views.file_upload_errors),
 | |
|     (r'^filename_case/$', views.file_upload_filename_case_view),
 | |
|     (r'^fd_closing/(?P<access>t|f)/$', views.file_upload_fd_closing),
 | |
| )
 |