mirror of
https://github.com/django/django.git
synced 2025-10-25 22:56:12 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user