I have a table called Demo which consits of two fields i.e;
Name,hobbies. hobbies contains comma seperated values in db.
for example: "eating,sleeping,dancing"
now i have to query for the field hobbies which contains "eating,sleeping".
I have tried
Demo.object.get(hobbies__in=['eating','sleeping'])
I am getting
matching query does not exists
How can i solve this