def _get_queryset(klass):
    if isinstance(klass, QuerySet):
        return klass
    elif isinstance(klass, Manager):
        manager = klass
    else:
        manager = klass._default_manager
    return manager.all()
Writes a completed HTTP request to the logs.
dataset/ETHPy150Open dcramer/django-compositepks/django/shortcuts/__init__.py/_get_queryset--crossover with--dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py/Application.log_request