if 'offset' in request.GET:
    offset = int(request.GET.get('offset').strip())
results = allpeople[100 * offset:100 * (offset + 1)]
Django: How to count a queryset and return a slice without hitting DB twice?