Index: events.py
===================================================================
--- events.py (revision 3787)
+++ events.py (working copy)
@@ -115,6 +115,17 @@
row can be deleted without first fetching it?
"""
+class RowDestroyedSignal(Signal):
+ """
+ Called after an instance is deleted. Sender is the instance's
+ class. Arguments are ``(instance)``.
+
+ This is called before the post_funcs of RowDestroySignal
+
+ Note: this is not called when an instance is destroyed through
+ garbage collection.
+ """
+
class RowUpdateSignal(Signal):
"""
Called when an instance is updated through a call to ``.set()``
@@ -124,6 +135,14 @@
current values, simply look at ``instance``.
"""
+class RowUpdatedSignal(Signal):
+ """
+ Called when an instance is updated through a call to ``.set()``
+ (or a column attribute assignment). The arguments are
+ ``(instance)``. This is run *after* the instance is updated;
+ Works better with lazyUpdate = True
+ """
+
class AddColumnSignal(Signal):
"""
Called when a column is added to a class, with arguments ``(cls,