I have a model query in Django:
Query = Details.objects.filter(name__iexact=nameSelected)
I filter it later:
Query2 = Query .filter(title__iexact=title0)
Then I access it using:
...Query2[0][0]...
A few days ago it worked very fast. But now it became at least 20 times slower. I test it on other PC, it works very fast.
Update: filtering is not the reason of the delay, Query[0][0] is the reason. Besides that, it became super slow suddenly not over time.
What can make it so slow on my first PC?