

def get_object(self, request, var_name):
    if (var_name == 'all'):
        return None
    else:
        return get_object_or_404(Category, var_name=var_name)

dataset/ETHPy150Open wtrevino/django-djobberbase/djobberbase/feeds.py LatestJobsFeed.get_object/original