title: Is it possible to disable caching from Django admin pages?
body: <p><strong>[additional information]</strong></p>
  
  <p>I asked for a way to disable caching site-wide. <strong>This is probably overkill</strong>, because all I need is a way to be able to <strong>see the most recent version of a page</strong>, when either the database or the program to generate it has been modified.</p>
  
  <p>There is a strong consensus that <strong>modifying settings at runtime is a very bad idea</strong>.</p>
  
  <p>So, some ideas: <strong>clearing the cache</strong> could work, as would <strong>sending a flag</strong> to specify that I don't want to see a cached version, or specifying that <strong>requests from my IP address shouldn't see cached pages</strong>.</p>
  
  <p><strong>[original question]</strong></p>
  
  <p>I have a Django-based website at <a href="https://ozake.com" rel="nofollow noreferrer">ozake.com</a>, and I frequently rewrite parts of the programming or change page content.</p>
  
  <p>Each time I work on it, I <strong>modify settings.py to disable caching</strong> so I can see my modifications in real time.</p>
  
  <p>When I'm done, I re-enable caching.</p>
  
  <p>I am using <strong>file-based caching</strong>. Here is the relevant part of settings.py:</p>
  
  <pre><code>CACHES = {
    'default': {'BACKEND':
   #'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
    'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
    'LOCATION': '/var/www/mysite.com/cache',
  </code></pre>
  
  <p>When I work on the site I comment out the last two lines and uncomment the dummy cache line.</p>
  
  <p>This means SSH'ing into the site, modifying settings.py, working on the site, then re-modifying it.</p>
  
  <p><strong>Is there any way I can make this into a check box somewhere in /admin with admin.py?</strong></p>