[SQL-CVS] r4272 - SQLObject/trunk/docs
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2010-11-19 14:58:45
|
Author: phd Date: Fri Nov 19 07:58:34 2010 New Revision: 4272 Log: Updated example. Changed wording in News. Modified: SQLObject/trunk/docs/News.txt SQLObject/trunk/docs/SQLObject.txt Modified: SQLObject/trunk/docs/News.txt ============================================================================== --- SQLObject/trunk/docs/News.txt Sat Nov 13 10:46:46 2010 (r4271) +++ SQLObject/trunk/docs/News.txt Fri Nov 19 07:58:34 2010 (r4272) @@ -17,9 +17,9 @@ as the first parameter. The following signals were changed: RowCreateSignal, RowCreatedSignal, DeleteColumnSignal. -* Major API change: post-functions for all signals are called with the - instance as the first parameter. The following signals were changed: - RowUpdatedSignal, RowDestroySignal, RowDestroyedSignal. +* Major API change: post-processing functions for all signals are called + with the instance as the first parameter. The following signals were + changed: RowUpdatedSignal, RowDestroySignal, RowDestroyedSignal. SQLObject 0.14.1 ================ Modified: SQLObject/trunk/docs/SQLObject.txt ============================================================================== --- SQLObject/trunk/docs/SQLObject.txt Sat Nov 13 10:46:46 2010 (r4271) +++ SQLObject/trunk/docs/SQLObject.txt Fri Nov 19 07:58:34 2010 (r4272) @@ -1883,7 +1883,7 @@ # GOOD method 2 kwargs['last_updated'] = datetime.datetime.now() - def created_listener(kwargs, post_funcs): + def created_listener(instance, kwargs, post_funcs): """"email me when new users added""" # email() implementation left as an exercise for the reader msg = "%s just was just added to the database!" % kwargs['name'] |