carltongibson / django-filter

A generic system for filtering Django QuerySets based on user selections

Home Page:https://django-filter.readthedocs.io/en/main/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

__contains not working true

thanhtuyenpkk opened this issue · comments

Hi
I'm working in django and i want to search like
demo = Demo.object.fillter(name__contains=name) ......

I print(demo.query)
with name=us
Select * from demo where name::text LIKE %us%

I data base Demo.name have record 'usertest@gmail.com'
it not found
Any body can't help me with it

Sorry, this isn't an addressable issue report.