使用Django时,必须重新启动Apache在Apache与mod_wsgi [英] Have to Restart Apache When Using Django On Apache with mod_wsgi
本文介绍了使用Django时,必须重新启动Apache在Apache与mod_wsgi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
mod_wsgi非常适合生产,但我认为包含的服务器更适合开发。 p>
无论如何,您应该阅读这个关于自动重新加载源代码。
I'm creating a web app with Django. Since I'm very familiar with Apache I setup my development environment to have Django run through Apache using mod_wsgi. The only annoyance I have with this is that I have to restart Apache everytime I change my code. Is there a way around this?
解决方案
mod_wsgi is great for production but I think the included server is better for development.
Anyway you should read this about automatic reloading of source code.
这篇关于使用Django时,必须重新启动Apache在Apache与mod_wsgi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文