Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recompile Django without restarting Apache

I know there are topics on this and I am aware of using Daemon processes with mod_wsgi, but I am running on a Windows computer and I don't believe WSGIDaemonProcess is therefore available. Is there any other way I can recompile Django without restarting Apache with mod_wsgi on a Windows computer?

If not that's fine but I just wonder how people would deal with this in a production environment with a hosting company (like GoDaddy), where the server is not theirs to control. I'm running a development server so restarting it is no big deal.

like image 345
F_C Avatar asked May 29 '26 15:05

F_C


1 Answers

Best you can manage is what is described in:

http://blog.dscpl.com.au/2009/02/source-code-reloading-with-modwsgi-on.html

like image 170
Graham Dumpleton Avatar answered May 31 '26 05:05

Graham Dumpleton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!