I have one database with column - where is datas like
'Very big News'
'News'
'something else'
'New Nes'
'Fresh News'
'Something else'
I need match with my database.I Need go through every row in this database and find if i have string field which is inside of this string field.
for example if i have field 'News' which is inside.
I need implement it in django.
How to mutch if i have field with name 'News' in my database?
I mean if i have value in my row which is contained in this particular string?
I can drop this string by list of words and than check every word. But it is not the best way. Isn't it?
Again:
I have string 'super very news'
I need look in my database if i have name field which contain word 'super'
or 'very'
or 'new'
or 'super very'
or 'very news'
.