I have a list of strings and I would like to do an case-insensitive "in" lookup with Django ORM.
I know, that I can do this:
name_list = ['Alpha', 'bEtA', 'omegA']
q_list = map(lambda n: Q(name__iexact=n), name_list)
q_list = reduce(lambda a, b: a | b, q_list)
MyModel.objects.filter(q_list)
But maybe there is a simpler solutions with more modern Django ORM?