8👍
✅
You need to use Q objects.
Article.objects.filter(Q(title__icontains='candy')|Q(body__icontains='candy'))
Source:stackexchange.com
8👍
You need to use Q objects.
Article.objects.filter(Q(title__icontains='candy')|Q(body__icontains='candy'))