Reload django wsgi scripts without root

django, django-wsgi

Solution

http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode

This article about reloading source code with mod_wsgi goes into how to reload source code, and even how to create a monitor script to automatically reload the daemon when you make source changes. It's really good for setting up a development environment using mod_wsgi.

Problem

I have an install of django on apache using embedded wsgi. I DON'T have root on the machine. How can I tell apache to reload the python instance when I deploy new source code? I tried removing all the .pyc files and it still is running the old code.

Original source