在部署django应用时,mod_python再也不推荐,使用wsgi方式

最近在忙着部署前段时间开发的项目,因为没有注意django的版本问题;在部署时费了老大劲,为逝去的青春留下一页博客。
html

mod_python部署的方式在django的1.4及1.4以前是能够的,可是从django1.5开始,废弃了这种方式,django官网推荐使用wsgi方式;官方声明以下:python

If you’re new to deploying Django and/or Python, we’d recommend you try mod_wsgi first. In most cases it’ll be the easiest, fastest, and most stable deployment choice.django

See alsothis

  • Chapter 12 of the Django Book (second edition) discusses deployment and especially scaling in more detail. However, note that this edition was written against Django version 1.1 and has not been updated sincemod_python was first deprecated, then completely removed in Django 1.5.htm


以此提醒那些误入歧途的人....ci

相关文章
相关标签/搜索