#NEWLINE# def on_post_save( self , sender , **kwargs ) : #NEWLINE# #INDENT# 'Post-save signal handler.' #NEWLINE# if self . _in_migration : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . send_notify ( model = sender , obj = kwargs [ 'instance' ] , msg = ( ( kwargs [ 'created' ] and ADDED ) or CHANGED ) , using = kwargs [ 'using' ] )