def new_file(self, field_name, file_name, content_type, content_length,
            charset=None, content_type_extra=None):
        self.field_name = field_name
        self.file_name = file_name
        self.content_type = content_type
        self.content_length = content_length
        self.charset = charset
        if content_type_extra is None:
            content_type_extra = {}
        self.content_type_extra = content_type_extra
Signal that a new file has been started.
dataset/ETHPy150Open adieu/django-nonrel/django/core/files/uploadhandler.py/FileUploadHandler.new_file