mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	Fixed #7651: uploading multiple files with the same name now work. Also, in order to test the problem the test client now handles uploading multiple files at once. Patch from Mike Axiak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -136,6 +136,7 @@ class MultiPartParser(object): | ||||
|                     # since we cannot be sure a file is complete until | ||||
|                     # we hit the next boundary/part of the multipart content. | ||||
|                     self.handle_file_complete(old_field_name, counters) | ||||
|                     old_field_name = None | ||||
|  | ||||
|                 try: | ||||
|                     disposition = meta_data['content-disposition'][1] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user