#NEWLINE# def get_form_instance_values( self , form , include_initial = True ) : #NEWLINE# #INDENT# data = dict ( ) #NEWLINE# if ( getattr ( form , 'instance' , None ) or form ) : #NEWLINE# #INDENT# for ( name , field ) in form . fields . iteritems ( ) : #NEWLINE# #INDENT# val = form [ name ] . value ( ) #NEWLINE# val = self . prepare_field_value ( val ) #NEWLINE# data [ name ] = val #NEWLINE# #UNINDENT# #UNINDENT# return data