1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Fixed #7675: corrected TemporaryUploadedFile.temporary_file_path. Thanks, Florian Apolloner.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss
2008-07-12 20:43:52 +00:00
parent e63f8bf655
commit 476d5f2c0d
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ class TemporaryUploadedFile(UploadedFile):
"""
Returns the full path of this file.
"""
return self.name
return self._file.name
# Most methods on this object get proxied to NamedTemporaryFile.
# We can't directly subclass because NamedTemporaryFile is actually a