How can I add custom filtering to Django search? currently lookup_expr='icontains' match the words that contains string.
Example:
I want to search the work "elephant". if i type ele, phant
, then icontains works. But if i type elepant (missed h)
then icontains wont return anything.
So I want to build the search text that matches similar word. How can I do that in django?