# Less than or equal: User.objects.filter(userprofile__level__lte=0) #Greater than or equal: User.objects.filter(userprofile__level__gte=0)