def log_exception(*args, **kwds):
  cls, err = sys.exc_info()[:2]
  logging.exception('Exception in request: %s: %s', cls.__name__, err)
Returns a QuerySet from a Model, Manager, or QuerySet. Created to make
dataset/ETHPy150Open CollabQ/CollabQ/main.py/log_exception--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/shortcuts/__init__.py/_get_queryset