diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-07-07 23:36:35 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-07-07 23:36:35 +0000 |
| commit | c83e9abb34bca78e9d6d451614d00f816674e5a8 (patch) | |
| tree | e1c8621b47bea3e47fe07deaefaeef6295947bc6 | |
| parent | a28b75b0ba9650ae3bd46e38d12d95d48f5c5664 (diff) | |
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
| -rw-r--r-- | django/core/files/uploadedfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/files/uploadedfile.py b/django/core/files/uploadedfile.py index c0c9473529..bf5848421d 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) |
