Ticket #7675: uploaded_file_fix.diff
File uploaded_file_fix.diff, 536 bytes (added by , 16 years ago) |
---|
-
django/core/files/uploadedfile.py
diff --git a/django/core/files/uploadedfile.py b/django/core/files/uploadedfile.py index 9287a1b..7f515f9 100644
a b class TemporaryUploadedFile(UploadedFile): 193 193 """ 194 194 Returns the full path of this file. 195 195 """ 196 return self. name196 return self._file.name 197 197 198 198 # Most methods on this object get proxied to NamedTemporaryFile. 199 199 # We can't directly subclass because NamedTemporaryFile is actually a