As the title mentions, I am working in Django and trying to make a QuerySet to return all "Customer" models that have a name value that is a substring of my query_string.
I want something like this:
Customer.objects.filter(firstName__icontains=query_string)
But in reverse:
Customer.objects.filter(query_string__icontains=firstName)
Except that obviously doesn't work.
I am struggling to find any information on how I would go about this.
Thanks in advance.
Edit My expected input will be in Japanese - Kana and Kanji かな、カナ、漢字