title: Disable Apache caching of python files
body: <p>I'm working with django and doing facebook integration for which is needed a test server. I've had lots of problems with Apache and its caching of .pyc files, I even <a href="https://stackoverflow.com/questions/12578602/django-project-and-svn-loads-older-code-versions/12578673#12578673">asked here on stackoverflow</a>. </p>
  
  <p>That solution works but I want to know if there is an option for disabling Apache caching of such files. Server restart might be a problem for me.</p>
  
  <p>EDIT:</p>
  
  <p>Here is the django.wsgi code: </p>
  
  <pre><code>path = '/not/actual/path'
  if path not in sys.path:
      sys.path.append(path)
  
  os.environ['DJANGO_SETTINGS_MODULE'] = 'notactualproj.settings'
  
  import django.core.handlers.wsgi
  application = django.core.handlers.wsgi.WSGIHandler()
  </code></pre>