title: Turn caching off in debug mode in Django
body: <p>I am using memcached view caching for my production servers on some very computationally &amp; DB intense views, like so:</p>
  
  <pre><code>urlpatterns = ('',
      (r'^foo/(\d{1,2})/$', cache_page(60 * 15)(my_view)),
  ) 
  </code></pre>
  
  <p>Is there a way to turn caching off when DEBUG==True in Settings.py so that I don't have to worry about obselete view outputs being cached and can use my IDE's debugger?</p>