I know i could use __in
on a list like but what about something like python's:
# might not be able to separate on whitespace
'abc' in 'this_is a stringwith_abc+in it'
except I do not want to split the string into a list because I can't be sure of the character on which to split.
So something like:
Model.objects.filter(charfield__in='blob of text to find field value within')
edit1:
__contained
is not what I am looking for, if anything a __contained_by
method would be the solution