djangoapache

why do we need to restart apache after changing some file in django project


I have set up Django on Windows 7 on Apache/mod_wsgi. I need to stop, and then then start the server every time I change any python code. Is there a way to avoid it?

This doesn't happen with javascript/php changes, i.e., no apache restart required for seeing effect of changed code. A push in the right direction would help greatly. Thanks!


Solution

  • Read the official documentation about it at:

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