Answer the question
In order to leave comments, you need to log in
How to specify a list of parameters to search in models?
I do a search for MyModel.objects.filter(otherlistid=1) it looks for me 1 here, is it possible to specify a list of int numbers 1, 2, 3, 4, 5 to search at once?
If there is another search option, I will be glad to know
Thanks in advance
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question