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:
parent
a28b75b0ba
commit
c83e9abb34
|
@ -93,6 +93,7 @@ class UploadedFile(object):
|
||||||
counter -= chunk_size
|
counter -= chunk_size
|
||||||
|
|
||||||
# Deprecated properties
|
# Deprecated properties
|
||||||
|
filename = deprecated_property(old="filename", new="name")
|
||||||
file_name = deprecated_property(old="file_name", new="name")
|
file_name = deprecated_property(old="file_name", new="name")
|
||||||
file_size = deprecated_property(old="file_size", new="size")
|
file_size = deprecated_property(old="file_size", new="size")
|
||||||
data = deprecated_property(old="data", new="read", readonly=True)
|
data = deprecated_property(old="data", new="read", readonly=True)
|
||||||
|
|
Loading…
Reference in New Issue