

@classmethod
def objects(cls):
    objects = cls.model.objects.all()
    if cls.object_filter:
        objects = objects.filter(**cls.object_filter).distinct()
    if cls.object_exclude:
        objects = objects.exclude(**cls.object_exclude).distinct()
    return objects

dataset/ETHPy150Open DjangoAdminHackers/django-linkcheck/linkcheck/__init__.py Linklist.objects/original