I have a project in django 1.5 and I have to deploy it with mod_python. Unfortunately, I have seen that the module has been removed since 1.5. I know that there are another way such as mod_wsgi, gunicorn.. but could i downgrade my project to the previous version easily?

有帮助吗?

解决方案

You can simply take this file; which is the handler for mod_python from 1.4 and use it in 1.5.

You need to add it to a path that is accessible to Python and then set the PythonHandler directive in your Apache configuration to the module name.

其他提示

It should not be a problem to downgrade from Django 1.5 to 1.4 if you are not using any new features from 1.5, like configurable User model, for example.

For complete list of new features, please see the release notes.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top