

def get_prep_value(self, value):
    if (value is None):
        return value
    elif _is_gettext_promise(value):
        value = smart_text(value._proxy____args[0])
    return smart_text(value)

dataset/ETHPy150Open charettes/django-mutant/mutant/db/fields/translation.py LazilyTranslatedField.get_prep_value/original