diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py
index e5a2667..034b998 100644
|
a
|
b
|
class TemporaryFileUploadHandler(FileUploadHandler):
|
| 139 | 139 | def __init__(self, *args, **kwargs): |
| 140 | 140 | super(TemporaryFileUploadHandler, self).__init__(*args, **kwargs) |
| 141 | 141 | |
| 142 | | def new_file(self, file_name, *args, **kwargs): |
| | 142 | def new_file(self, *args, **kwargs): |
| 143 | 143 | """ |
| 144 | 144 | Create the file object to append to as data is coming in. |
| 145 | 145 | """ |
| 146 | | super(TemporaryFileUploadHandler, self).new_file(file_name, *args, **kwargs) |
| | 146 | super(TemporaryFileUploadHandler, self).new_file(*args, **kwargs) |
| 147 | 147 | self.file = TemporaryUploadedFile(self.file_name, self.content_type, 0, self.charset, self.content_type_extra) |
| 148 | 148 | |
| 149 | 149 | def receive_data_chunk(self, raw_data, start): |