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