1👍
I’ve solved this problem/
1)
users = users.filter(interests__in=[1, 5, 4])
2)
list_ = [1, 5, 4]
for i in len(list_):
users = users.filter(interests=i)
Source:stackexchange.com
1👍
I’ve solved this problem/
1)
users = users.filter(interests__in=[1, 5, 4])
2)
list_ = [1, 5, 4]
for i in len(list_):
users = users.filter(interests=i)