bitnami django,重新启动服务的解决方案? [英] bitnami django, solution to restarting service?

查看:298
本文介绍了bitnami django,重新启动服务的解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用安装的bitnami django 1.3.0,

Hey I use installed bitnami django 1.3.0,

,但每当我在系统中添加更改urls.py或views.py由于一些错误。刷新后,错误不会消失。

but whenever I add changes to urls.py or views.py in my system due to some error. The error won't disappear after refresh.

我必须重新启动我的bitnami服务,停止然后开始,这是耗时的,我觉得我正在视觉工作室编码C#应用程序。有时甚至没有办法,我有时要重新启动我的电脑,然后我突然意识到哦,哇,错误现在解决了!

I have to restart my bitnami Service, "stop" and then "start" it, which is time consuming, I feel like I'm coding C# apps in visual studio. Sometimes even that doesn't work, I have to sometimes restart my computer and then I suddenly realize "oh wow, the error is solved now!"

?为什么一切都需要运行服务器/重新启动?

Any solution to this? Why does everything require a runserver / restart?

推荐答案

您可以使用Apache在生产中部署应用程序,但使用Django服务器发展。您将需要配置您的应用程序以供以后apache(修改settings.py和apache配置文件),但在开发过程中,您不需要为每次更改重新启动服务器。

You can use Apache for deploy your application in production but use the Django server for development. You will need to configure your application for being served by apache later (modifying the settings.py and the apache configuration file) but during the development you won't need to restart the server for every change.

这篇关于bitnami django,重新启动服务的解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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