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:
Jacob Kaplan-Moss 2008-07-07 23:36:35 +00:00
parent a28b75b0ba
commit c83e9abb34
1 changed files with 1 additions and 0 deletions

View File

@ -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)