You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi,
After version 1.5, django has disabled mod_python. Can we still use the modpython instead of mod_wsgi? If so, how can we install the mod_python, doesn't seem a package is available in Debian squeeze or wheezy.
Thank you.
Russell Keith-Magee
unread,
Nov 25, 2013, 1:01:35 AM11/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
After version 1.5, django has disabled mod_python. Can we still use the modpython instead of mod_wsgi? If so, how can we install the mod_python, doesn't seem a package is available in Debian squeeze or wheezy.
No, you can't. The reason Django removed support for mod_python is because mod_python is an unmaintained project - and that's coming direct from the maintainers of mod_python. That means it isn't getting bug fixes, nobody is looking after security issues, or memory leaks, or fixing any of the myriad problems that mod_python had (including, but not limited to, a lack of support for Python 3).
This isn't a recent change, either. The Apache project moved mod_python into the "attic" on 16 Jun 2010. That's 3.5 years ago.
Seriously - there's no reason to be using mod_python these days. You should be using a container based on WSGI -- mod_wsgi if you want to stick with Apache, or any of the other excellent WSGI containers (e.g., gunicorn).
Yours,
Russ Magee %-)
Daniel Roseman
unread,
Nov 25, 2013, 5:17:45 AM11/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
However as he explains in that post, he doesn't really see it as a means of running websites, but rather as a Python interface to Apache. So you're still right that mod_wsgi remains the best bet.