Hello.
I have a problem. I've got a string which looks like "var1,var2" and table in database which contains some records looks like "var1, var3", "var3", "var2,var3" an I want to filter them by splitting first string. When any of my string-variable fits to database-variable django will display them. So, when I have string-var like this:"var1,var2" and database-variables like: "var1,var3", "var3", "var2,var3" django will display "var1,var3", "var2,var3". How can I do that? When I straightly filter by Data.objects.filter, Django displays only that records who contains all of string-variables.
Sorry for my poor English, hope everyone understood. Cheers.