changeset 8483 | 4ba11607d84a |
parent 8426 | 1cb51cdb4ce7 |
child 8496 | e4d71fc0b701 |
--- a/server/hook.py Tue Jul 17 17:16:28 2012 +0200 +++ b/server/hook.py Tue Jul 17 12:24:46 2012 +0200 @@ -152,7 +152,7 @@ On those events, the entity has no `cw_edited` dictionary. -.. note:: `self.entity.set_attributes(age=42)` will set the `age` attribute to +.. note:: `self.entity.cw_set(age=42)` will set the `age` attribute to 42. But to do so, it will generate a rql query that will have to be processed, hence may trigger some hooks, etc. This could lead to infinitely looping hooks.