MyClass.objects.filter(name__iexact=my_parameter) MyClass.objects.filter(name__icontains=my_parameter)