mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Added a missing deprecated property (UploadedFile.filename) from [7859]. Refs #7614.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -93,6 +93,7 @@ class UploadedFile(object): | ||||
|             counter -= chunk_size | ||||
|  | ||||
|     # Deprecated properties | ||||
|     filename = deprecated_property(old="filename", new="name") | ||||
|     file_name = deprecated_property(old="file_name", new="name") | ||||
|     file_size = deprecated_property(old="file_size", new="size") | ||||
|     data = deprecated_property(old="data", new="read", readonly=True) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user