Reputation: 244
I'm trying to create a view that returns a queryset based on multiple values.
The pseudo code logic of what I'm trying to do is below.
Model.objects.filter(author = dave or author = steve)
can this be done in a single query? If not then what is the most efficient way of doing this?
Upvotes: 0
Views: 211