schema = Schema(preparer=my_preparer)
form = deform.Form(schema, buttons=('submit',))
controls = request.POST.items()
captured = form.validate(controls)
file_data = captured['upload']['fp']
with open('/tmp/%s' % captured['upload']['filename'], 'wb') as new_file:
new_file.write(file_data.read())
class Schema(colander.Schema):
upload = colander.SchemaNode(
deform.FileData(),
widget=deform.widget.FileUploadWidget(tmpstore))
form.upload.fp
) и сохранить на диск куда надо.