'Register a function to be called when this entry is accepted.
:param func: The function to call
:param kwargs: Keyword arguments that should be passed to the registered function'

def on_accept(self, func, **kwargs):

    self.add_hook(u'accept', func, **kwargs)
