Answer the question
In order to leave comments, you need to log in
How to pass multiple django values to icontains?
Good afternoon!
There is a request like this:
services = Service.objects.filter(title__icontains='мужская стрижка')
Answer the question
In order to leave comments, you need to log in
services = Service.objects.filter(Q(title__icontains='мужская')&Q(title__icontains='стрижка'))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question