Ticket #8156: uploadedfile.diff
File uploadedfile.diff, 560 bytes (added by , 16 years ago) |
---|
-
django/core/files/uploadedfile.py
32 32 self.charset = charset 33 33 34 34 def __repr__(self): 35 return "<%s: %s (%s)>" % (self.__class__.__name__, self.name , self.content_type)35 return "<%s: %s (%s)>" % (self.__class__.__name__, self.name.encode("ascii", "replace"), self.content_type) 36 36 37 37 def _get_name(self): 38 38 return self._name