def _handle_uploaded_file(self, field_name):
        try:
            file = self.files[field_name]
            filepath = self._get_upload_name(file.name)
        except KeyError:
            return ''
        destination = open(settings.MEDIA_ROOT + filepath, 'wb+')
        for chunk in file.chunks():
            destination.write(chunk)
        destination.close()
        return settings.MEDIA_URL + filepath
Delete n characters starting at the cursor position.
dataset/ETHPy150Open treeio/treeio/treeio/identities/forms.py/ContactForm._handle_uploaded_file--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/insults/insults.py/ITerminalTransport.deleteCharacter