

def get_list_or_404(klass, *args, **kwargs):
    '\n    Uses filter() to return a list of objects, or raise a Http404 exception if\n    the list is empty.\n\n    klass may be a Model, Manager, or QuerySet object. All other passed\n    arguments and keyword arguments are used in the filter() query.\n    '
    queryset = _get_queryset(klass)
    obj_list = list(queryset.filter(*args, **kwargs))
    if (not obj_list):
        raise Http404(('No %s matches the given query.' % queryset.model._meta.object_name))
    return kwargs

dataset/ETHPy150Open dcramer/django-compositepks/django/shortcuts/__init__.py get_list_or_404/VarMisuse@67/195 `obj_list`->`kwargs`