#NEWLINE# def clean_old_password( self ) : #NEWLINE# #INDENT# old_password = self . cleaned_data [ 'old_password' ] #NEWLINE# if ( not self . current_user . check_password ( old_password ) ) : #NEWLINE# #INDENT# raise forms . ValidationError ( 'Please enter your current password correctly.' ) #NEWLINE# #UNINDENT# return old_password