必须重新启动Apache将Django当你使用Apache与mod_wsgi的 [英] Have to Restart Apache When Using Django On Apache with mod_wsgi

查看:139
本文介绍了必须重新启动Apache将Django当你使用Apache与mod_wsgi的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建使用Django的web应用程序。因为我非常熟悉Apache设置我的开发环境,有Django的通过Apache使用mod_wsgi的运行。我有这个问题的唯一的烦恼是,我要重新启动Apache每次我改变我的code。有没有办法解决?

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的是伟大的生产,但我认为,包括服务器是更好的发展。

mod_wsgi is great for production but I think the included server is better for development.

反正你应该阅读此了解源$ C自动重新加载$ C。

Anyway you should read this about automatic reloading of source code.

这篇关于必须重新启动Apache将Django当你使用Apache与mod_wsgi的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆