Kaydet (Commit) 476d5f2c authored tarafından Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss

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
üst e63f8bf6
...@@ -52,7 +52,7 @@ answer newbie questions, and generally made Django that much better: ...@@ -52,7 +52,7 @@ answer newbie questions, and generally made Django that much better:
andy@jadedplanet.net andy@jadedplanet.net
Fabrice Aneche <akh@nobugware.com> Fabrice Aneche <akh@nobugware.com>
ant9000@netwise.it ant9000@netwise.it
Florian Apolloner Florian Apolloner <florian@apolloner.eu>
arien <regexbot@gmail.com> arien <regexbot@gmail.com>
David Ascher <http://ascher.ca/> David Ascher <http://ascher.ca/>
Jökull Sólberg Auðunsson <jokullsolberg@gmail.com> Jökull Sólberg Auðunsson <jokullsolberg@gmail.com>
......
...@@ -193,7 +193,7 @@ class TemporaryUploadedFile(UploadedFile): ...@@ -193,7 +193,7 @@ class TemporaryUploadedFile(UploadedFile):
""" """
Returns the full path of this file. Returns the full path of this file.
""" """
return self.name return self._file.name
# Most methods on this object get proxied to NamedTemporaryFile. # Most methods on this object get proxied to NamedTemporaryFile.
# We can't directly subclass because NamedTemporaryFile is actually a # We can't directly subclass because NamedTemporaryFile is actually a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment