Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top