I think you need to customize the functions for storing/retrieving the 
uploaded file.

In you model add:
Field("myfile", "upload", custom_store=store_myfile, 
custom_retrieve=retrieve_myfile)

Then implement the functions:
def store_myfile(uploaded_file, filename=None, path=None):
  buffer = uploaded_file.read()
  filename = put_to_storage(buffer)
  return filename

def retrieve_myfile(filename, path=None):
    buffer = get_from_storage(filename)
    return (filename, buffer)

Reply via email to