title: How to disable Django query cache?
body: <p>In my Django application, I repeatedly run the same query on my database (e.g. every 10 seconds).
  I then create an MD5 sum over the queryset I receive and compare that to the MD5 sum I created in the previous run. If both are equal, the data has not changed and the web page does not need updating.</p>
  
  <p>While I do this, the data in the DB might change.</p>
  
  <p>However, the query returns the same queryset, apparently due to <a href="http://docs.djangoproject.com/en/dev/topics/db/queries/#id5" rel="noreferrer">query caching</a>.</p>
  
  <p>How can I disable the query cache and explicitely execute the query on the DB ?</p>