Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django orm filter equal insensitive

MyClass.objects.filter(name__iexact=my_parameter)
MyClass.objects.filter(name__icontains=my_parameter)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #orm #filter #equal #insensitive
ADD COMMENT
Topic
Name
1+8 =