Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a missing deprecated property (UploadedFile.filename) from [785…

…9]. Refs #7614.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c83e9abb34bca78e9d6d451614d00f816674e5a8 1 parent a28b75b
@jacobian jacobian authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/core/files/uploadedfile.py
View
1  django/core/files/uploadedfile.py
@@ -93,6 +93,7 @@ def chunks(self, chunk_size=None):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.