I wanted to do a query based on a list. I know I can do this:
lists = [Everton, Liverpool, Villa]
queryset = Betting.objects.filter(matches__in=list)
However, this doesnt query the table in order. The operation am doing is based on fuzzywuzzy and is vital the query is done in order of the list
I have seen this solution django-create-a-queryset-from-a-list-preserving-order.html but it doesnt seem to work with sqllite
Thanks..Any help will be appreciated