I am working on a website where the user can upload a post relating to a location and then they can add two or three photos to go along with it. I understand how to do a basic upload with either the Datastore or the Blobstore but I want to link these photos to the post and to the user and then be able to display them in all pages connected to the post and the user.
That is the general idea but to be more specific I am trying to figure out if it would be easier to just to give the post entities 3 db.blob attributes and take a little hit on higher data costs or if it is doable to link the Blobstore entities with my Datastore entities.
BlobInfo
, which only exists if blob was upload via upload handler.BlobInfo
is not created if file is saved to blobstore via file api: developers.google.com/appengine/docs/python/blobstore/… – Phototherapy