Image Upload in Google App Engine

前端 未结 2 766
北恋
北恋 2021-01-14 23:57

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 ba

相关标签:
2条回答
  • 2021-01-15 00:35

    That's what BlobReferenceProprty is for. You can add a reference to a blob into model which seems to be what you want.

    0 讨论(0)
  • 2021-01-15 00:40

    Here is a full example of uploading photo and associating it to user.

    To associate users and photos it uses creates class UserPhoto that links user ID and photo blob keys.

    0 讨论(0)
提交回复
热议问题