

def get_queryset(self):
    query = super(LongPullingServer, self).get_queryset()
    old_id = self.request.GET.get('old_id', 0)
    return query.filter(id__gte=old_id)._clone()

dataset/ETHPy150Open opps/opps/opps/contrib/notifications/views.py LongPullingServer.get_queryset/original