def make_value_from_form(self, value):
    if value.__class__.__name__ == 'UploadedFile':
      return db.Blob(value.content)
    return super(BlobProperty, self).make_value_from_form(value)
Convert a form value to a property value.
dataset/ETHPy150Open IanLewis/kay/kay/utils/forms/modelform.py/BlobProperty.make_value_from_form