code: def get_teachers(self):
          
          users = User.objects.filter(user_type="teacher")
          users = users.exclude(id__in=EXTRA)
          # Add possible exceptions handling here
          users = users | User.objects.filter(id__in=[31863, 32327, 32103, 33228])
  
          return users
docs: Get user objects that are teachers (quickly).