#NEWLINE# def __set__( self , instance , value ) : #NEWLINE# #INDENT# "\n        Set an object's tags.\n        " #NEWLINE# if ( instance is None ) : #NEWLINE# #INDENT# raise AttributeError ( ( _ ( '%s can only be set on instances.' ) % self . name ) ) #NEWLINE# #UNINDENT# if ( settings . FORCE_LOWERCASE_TAGS and ( self is not None ) ) : #NEWLINE# #INDENT# value = value . lower ( ) #NEWLINE# #UNINDENT# self . _set_instance_tag_cache ( instance , value )