如果修改了django的view,在生产环境中重启服务器,成本会有一些大
如果是用uwsgi部署
直接用
touch $HOME/webapps/django/myapp/myapp/myapp.wsgi
参考
https://community.webfaction.com/questions/15040/seamless-restart-for-django-projects-wsgi-apache
转载于:https://blog.51cto.com/pcliuyang/1754442