How do I speed up iteration of large datasets in Django
1500 records is far from being a large dataset, and seven seconds is really too much. There is probably some problem in your models, you can easily check it by getting (as Brandon says) the values() query, and then create explicitly the 1500 object by iterating the dictionary. Just convert the ValuesQuerySet into a list before the construction to factor out the db connection.
I have a query set of approximately 1500 records from a Django ORM query.  I have used the select_related() and only() methods to make sure the query is tight.  I have also used connection.queries to make sure there is only this one query.  That is, I have made sure no extra queries are getting called on each iteration.  
When I run the query cut and paste from connection.queries it runs in 0.02 seconds.  However, it takes seven seconds to iterate over those records and do nothing with them (pass).
What can I do to speed this up?  What causes this slowness?