Suppose there are such records in the Person database.
+ ---- + ------------------- + | id | fio | + ---- + ------------------- + | 1 | Petrov Alexey | | 2 | Andreev Valentin | + ---- + ------------------- +
Then, using the usual filter Person.filter(fio__contains='Петров') we get the first entry. But if instead of a line Petrov to drive Alexei Petrov, then he will give us a zero result. The same applies to abbreviations, for example, if you drive in Petrov A. What to do in this situation.