def get_queryset(self, request):
        if hasattr(self, 'queryset') or self.queryset is not None:
            queryset = self.queryset._clone()
        elif hasattr(self, 'model') and self.model is not None:
            queryset = self.model.objects.values(*self.get_field_names())
        else:
            raise ImproperlyConfigured("No queryset or model defined.")
        self.queryset = queryset
        return self.queryset
dataset/ETHPy150Open gerry/django-jqgrid/jqgrid.py/JqGrid.get_queryset/operator `and` -> `or`