def __setattr__(self, name, val):
        # TODO: Probably use `Field`s as descriptors and leave this to them
        if name in self._meta.fields:
            f = self._meta.fields[name]
            val = f.to_search_value(val)
        super(DocumentModel, self).__setattr__(name, val)
Return localized 'short' action text for button
dataset/ETHPy150Open potatolondon/search/search/indexes.py/DocumentModel.__setattr__--crossover with--dataset/ETHPy150Open munki/munki/code/apps/Managed Software Center/Managed Software Center/MunkiItems.py/GenericItem.short_action_text