Skip to content

Instantly share code, notes, and snippets.

@tonio
Created October 7, 2010 09:30
Show Gist options
  • Save tonio/614875 to your computer and use it in GitHub Desktop.
Save tonio/614875 to your computer and use it in GitHub Desktop.
# save posted image in sqlalchemy LargeBinary
revision.image = request.params.get('image').file.read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment