How can I query/filter in Django and ignore the cases of my query-string?
I've got something like and like to ignore the case of my_parameter
:
MyClass.objects.filter(name=my_parameter)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…