#NEWLINE# def post_badge_save( sender , **kwargs ) : #NEWLINE# #INDENT# badge = kwargs [ 'badge_award' ] #NEWLINE# action . send ( badge . user , verb = 'earned achievement {0}' . format ( badge . name ) , action_object = badge )