def get_queryset(self):
        if self.queryset is None:
            if self.model:
                return self.model._default_manager.all()
            else:
                raise ImproperlyConfigured(u"%(cls)s is missing a queryset. Define "
                                           u"%(cls)s.model, %(cls)s.queryset, or override "
                                           u"%(cls)s.get_object()." % {
                                                'cls': self.__class__.__name__
                                        })
        return self.queryset._clone()
Initializer.  Takes optional type, content, and name.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/views/generic/detail.py/SingleObjectMixin.get_queryset--crossover with--dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/lib2to3/pytree.py/LeafPattern.__init__