Open lobothijau opened 6 years ago
I have a model with FroalaField() and I want to filter data by the field. Unfortunately the Model.objects.filter() doesnt have option to filter by field__contains. How do I search on the field?
Really doesn't work
from django.db.models import Q posts = Post.objects.filter(Q(content__icontains='Django'))
I have a model with FroalaField() and I want to filter data by the field. Unfortunately the Model.objects.filter() doesnt have option to filter by field__contains. How do I search on the field?