if limit:
    q2 = User.objects.exclude(pk__in=q1).filter(first__istartswith=token
        ).order_by('last')[:limit]
else:
    q2 = []
users = list(q1) + list(q2)
Return exact matches at top of Django Queryset