为什么我们需要在Django项目改变一些文件后,重新启动Apache [英] why do we need to restart apache after changing some file in django project

查看:493
本文介绍了为什么我们需要在Django项目改变一些文件后,重新启动Apache的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Apache / mod_wsgi的设立Django的Windows 7上。我需要停下来,然后再每一次我改变任何蟒蛇code时启动服务器。有没有办法避免呢?

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?

这不使用JavaScript / PHP的变化,即,眼看改变code的作用,无需重新启动Apache的发生。在正确的方向推送将极大地帮助。谢谢!

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!

推荐答案

在阅读关于它的官方文档:

Read the official documentation about it at:

HTTP://$c$c.google。 COM / p / modwsgi /维基/ ReloadingSource code

这篇关于为什么我们需要在Django项目改变一些文件后,重新启动Apache的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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