#NEWLINE# def __set__( self , obj , value ) : #NEWLINE# #INDENT# if isinstance ( value , Markup ) : #NEWLINE# #INDENT# obj . __dict__ [ self . field . name ] = value . raw #NEWLINE# setattr ( obj , self . rendered_field_name , value . rendered ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# obj . __dict__ [ self . field . name ] = self