Referencing Blobs in GAE the smart way
问题 I'm migrating a site from IIS to GAE and am trying to batch upload a lot of images. Further to that particular challenge, I have one that concerns me more. All of the content for the site (stored in a DB) reference the images as such: http://myurl.com/images/some-folder/maybe-another-folder/image-name.jpg I have created a simple handler in Python to serve images: class ServeBlobs(blobstore_handlers.BlobstoreDownloadHandler): def get(self, resource): query = "where filename='%s'" % resource