def choice_from_param(self, param):
        try:
            return self.rel_field.to_python(param)
        except __HOLE__:
            raise ValueError()
dataset/ETHPy150Open ionelmc/django-easyfilters/src/django_easyfilters/filters.py/RelatedObjectMixin.choice_from_param