

def _deserialize_value(self, value):
    if ((value is None) or isinstance(value, datetime.date)):
        return value
    elif (not isinstance(value, six.string_types)):
        return value
    else:
        return self.deserializer(value)

dataset/ETHPy150Open djangonauts/django-hstore/django_hstore/fields.py SerializedDictionaryField._deserialize_value/original