def label_from_instance(self, obj):
        return force_text(obj)
Test resolution of __typeof queries, for field in referencing
dataset/ETHPy150Open applegrew/django-select2/django_select2/forms.py/ModelSelect2Mixin.label_from_instance--crossover with--dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3hierarchy.py/S3TypeOfTests.testTypeOfReferenceSingle