RowDestroySignal

Called before an instance is deleted. Sender is the instance's class. Arguments are (instance, post_funcs).

post_funcs is a list of callbacks, intended to have functions appended to it, and are called without arguments. If any of the post_funcs raises an exception, the deletion is only affected if this will prevent a commit.

You cannot cancel the delete, but you can raise an exception (which will probably cancel the delete, but also cause an uncaught exception if not expected).

Note: this is not called when an instance is destroyed through garbage collection.

@@: Should this allow instance to be a primary key, so that a row can be deleted without first fetching it?


Methods

f __init__(...) ...

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

See the source for more information.