Force evaluate a lazy query
18:45 05 Mar 2015

Is there a way to evaluate the following expression?

instances = Catalog.objects.filter(q)

I am trying to profile it, but since it is lazy, it won't actually do the evaluation until it returns it. I was thinking list(instances), is there anything else?

python django list