New django installers
Posted Jun 29 at 05:32 CDT by Remi in Django - 9 comment(s)
We've just rolled out some new django installers. New features are:
- Latest mod_python version (3.3.1): when you create a new django app it will install the latest mod_python version by default (3.3.1). Amongst other things, this version fixes some memory leaks.
- mod_python compiled with shared python library: the mod_python.so file went from 3MB down to 300KB.
- Support for Python-2.5: when you create the app you can now choose between Python-2.4 and 2.5.
9 comments:
Rob said on 2007-06-29 07:42:59:
Hi Remi, how can we upgrade existing apps to use the new mod_python version?
David Sissitka said on 2007-06-29 08:07:12:
Just replace the path to mod_python.so with /etc/httpd/modules/mod_python.so in your httpd.conf. :)
David Sissitka said on 2007-06-29 08:08:45:
After making the change don't forgot to restart your application of type Django's instance of Apache by executing the stop and start scripts or the restart script located in ~/webapps/(Application Name)/apache2/bin/.
Baxter said on 2007-07-02 10:32:04:
When I changed it, site blew up. No module named Django.
David Sissitka said on 2007-07-02 10:38:41:
I apologize, you'll also need to copy or move ~/lib/python2.4/django/ to ~/lib/python2.5/django/.
David Sissitka said on 2007-07-02 10:41:12:
And any other modules that you might have installed in ~/lib/python2.4/.
ken said on 2007-09-02 06:04:12:
hi, and what is the Django vesion? 0.96?
Richard Cooper said on 2007-09-02 15:43:37:
ken: Yes we have automated installers for Django 0.96 on Python 2.4 and 2.5 and several older versions on Python 2.4 only. And don't forget that you are free to install any version you like manually if we don't have an automated installer available.
ken: Yes we have automated installers for Django 0.96 on Python 2.4 and 2.5 and several older versions on Python 2.4 only.
And don't forget that you are free to install any version you like manually if we don't have an automated installer available.