title: Iterating over result of django query
body: <p>I have a django query that I need to iterate over the result of but it is EXCEEDINGLY slow...here is some code</p>
  
  <pre><code>query = &lt;Model&gt;.objects.filter(&lt;filter settings&gt;
  
  results = rollup(query) #This function isn't super important, it's basically just summing over
  #specific fields that have specific properties, emptying the rest, and maintaing a few, the 
  #result is still a django query set
  </code></pre>
  
  <p>Now I want to do something like </p>
  
  <pre><code>for r in results:
     #do stuff..
  </code></pre>
  
  <p>I have tried using things like <code>prefetch_related</code> and I am not seeing very noticeable results.  Are there other improvements I can do to this query</p>