summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-07-12 20:43:52 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-07-12 20:43:52 +0000
commit476d5f2c0d6e3141fa7429a904efb5721493bbdf (patch)
tree98394162bd97cbc54b6176092f8475c530c16a0f
parente63f8bf65571d07c02725a4c86036be11e949916 (diff)
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
-rw-r--r--AUTHORS2
-rw-r--r--django/core/files/uploadedfile.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index 7e91eda833..4212bb9a2f 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -52,7 +52,7 @@ answer newbie questions, and generally made Django that much better:
andy@jadedplanet.net
Fabrice Aneche <akh@nobugware.com>
ant9000@netwise.it
- Florian Apolloner
+ Florian Apolloner <florian@apolloner.eu>
arien <regexbot@gmail.com>
David Ascher <http://ascher.ca/>
Jökull Sólberg Auðunsson <jokullsolberg@gmail.com>
diff --git a/django/core/files/uploadedfile.py b/django/core/files/uploadedfile.py
index 9287a1bec8..7f515f94d4 100644
--- a/django/core/files/uploadedfile.py
+++ b/django/core/files/uploadedfile.py
@@ -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