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 ant9000@netwise.it - Florian Apolloner + Florian Apolloner arien David Ascher Jökull Sólberg Auðunsson 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