python - Is the model specific put() called for each entity when db.put() is called with a list of entities? -


i've got models on gae app, , i've overriden put() on of them. when call db.put() list of these entites, there guarantee overriden put() on each entity called?

what i'm seeing right entities getting saved without being called. there way make sure stuff done before every save, batches?

no. need monkeypatch db.put() too. example of this, check out nick johnson's excellent blog post on pre- , post- put hooks datastore models.

if @ source code db module, you'll see db.put() not call entity's put() function.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -