def __str__(self):
        model = self.model
        app = model._meta.app_label
        return '%s.%s.%s' % (app, model._meta.object_name, self.name)
dataset/ETHPy150Open django/django/django/contrib/contenttypes/fields.py/GenericForeignKey.__str__/original