#NEWLINE# def after_change_password( self ) : #NEWLINE# #INDENT# user = self . get_user ( ) #NEWLINE# signals . password_changed . send ( sender = PasswordResetTokenView , user = user ) #NEWLINE# if settings . ACCOUNT_NOTIFY_ON_PASSWORD_CHANGE : #NEWLINE# #INDENT# self . send_email ( self ) #NEWLINE# #UNINDENT# if self . messages . get ( 'password_changed' ) : #NEWLINE# #INDENT# messages . add_message ( self . request , self . messages [ 'password_changed' ] [ 'level' ] , self . messages [ 'password_changed' ] [ 'text' ] )