gpt4 book ai didi

python - Django-1.5.1 仍然支持 mod_python-3.3.1 吗?

转载 作者:行者123 更新时间:2023-12-01 05:44:52 24 4
gpt4 key购买 nike

我的Django版本是1.5.1,mod_python版本是3.3.1。

django 仍然支持 mod_python 吗?

最佳答案

来自 docs对于 1.4 版本:

Support for mod_python has been deprecated, and will be removed in Django 1.5. If you are configuring a new deployment, you are strongly encouraged to consider using mod_wsgi or any of the other supported servers.

对于版本 1.5,该选项已被删除,您会在 deployment documentation 处收到此警告。 :

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 since mod_python was first deprecated, then completely removed in Django 1.5.

我们鼓励您使用mod_wsgi。该文档提供 comprehensive guidance关于如何使用 wsgi 进行部署。

关于python - Django-1.5.1 仍然支持 mod_python-3.3.1 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16394558/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com