#NEWLINE# def get_db_prep_save( self , value , connection ) : #NEWLINE# #INDENT# if value . is_nan ( ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return super ( MoneyField , self ) . get_db_prep_save ( value , connection )