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)
Set an object's tags.
dataset/ETHPy150Open amarandon/smeuhsocial/apps/tagging/fields.py/TagField.__set__