Reputation: 20895
In a python Google App engine app, I can create a db.Blob
object containing binary data:
blob = db.Blob(open("image.png", "rb").read())
How do I store that as the value of a blobstore.BlobReferenceProperty
?
I could create a URL handle and send the blob across a URL, but can I somehow turn the db.Blob
into a blob store entity directly?
Upvotes: 0
Views: 142