Store a list of dictionaries in GAE

前端 未结 3 629
抹茶落季
抹茶落季 2020-12-21 06:30

I have a list of about 20 objects and for each object I return a list of 10 dictionaries.
I am trying to store the list of 10 dictionaries for each object in the list on

3条回答
  •  隐瞒了意图╮
    2020-12-21 07:01

    Since this was written, the App Engine has pushed out their experimental "ndb" Python database model, which contains in particular the JsonProperty, something that pretty well directly implements what you want.

    Now, you need to be running the Python 2.7 version of the App Engine, which is still not quite ready for production, but it all seems pretty stable these days, GvR himself seems to be writing a lot of the code which bodes well for the code quality, and I'm intending to use this in production sometime this year...

提交回复
热议问题