Mark McClain 3f3346e598 allow subclasses to modify the parents model hooks
fixes bug 1210387

This change modifies the model hook processing to call the method on the
instance if a hook is registered as a string.  If the hook is a
callable, then callable is called with the hook arguments.

Change-Id: Id14ae89f3f12a500920d248226e0ecba8e35e74c
2013-08-09 00:53:33 -04:00
..
2013-08-07 21:19:25 +00:00
2013-07-06 15:02:43 -04:00
2013-08-08 07:53:21 +00:00
2013-07-06 15:02:43 -04:00
2013-07-06 15:02:43 -04:00
2013-07-06 15:02:43 -04:00
2013-07-06 15:02:43 -04:00
2013-08-07 21:19:25 +00:00
2013-07-13 15:35:22 +08:00
2013-07-06 15:02:43 -04:00
2013-08-07 21:19:25 +00:00