I'm working on a lightweight app, and I have quite a few situations where the user submits a form, the form data is processed and pushed to the datastore, and then the user is redi
Solution 1:
Just get the key the .put() returns:
key = mything.put()
and pass it on to the other page (e.g via urlsafe). The other page can rebuild the key and then
thething = key.get()
will always give you updated data -- i.e, this (key.get()) is one simple way to get strong consistency from the GAE datastore!
Share
Post a Comment
for "Wait For Datastore Update Before Proceeding"
Post a Comment for "Wait For Datastore Update Before Proceeding"