This is a case-sensitive containment test .
Example:
Entry.objects.get(headline__icontains='Lennon')
SQL equivalent:
SELECT ... WHERE headline ILIKE '%Lennon%';
In your case, the code says that maps should matter Trueif the name or description field contains a value search_terms.
source
share