diff --git a/django/core/files/uploadedfile.py b/django/core/files/uploadedfile.py index c0c94735297..bf5848421d2 100644 --- a/django/core/files/uploadedfile.py +++ b/django/core/files/uploadedfile.py @@ -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)