241 words
1 minute
Django is great^h^h^h^h^hfrustrating
2008-02-27
No Tags

Don’t get me wrong. I do like django. I’ve been working back and forth in Pylons and Django, trying to learn each of them well enough so that I can figure out which one will give the right answer when I know better what the powers that be want.

So, if you, like me, have a debian etch box upon which you want to install django, have it work with the tutorials in the book and on the site (thus needing python2.5), using mod_python so that you can work on a remote server, with postgres, do the following:

So that’s…

svn co http://code.djangoproject.com/svn/django/trunk djangonln -s `pwd`/django /usr/lib/python2.5/site-packages/nln -s `pwd`/django/django/bin/django-admin.py /usr/local/binnapt-get install python2.5 libapache2-mod-python apache2-prefork-devnwget http://ftp.wayne.edu/apache/httpd/modpython/mod_python-3.3.1.tgzntar xzf mod_python-3.3.1.tgzncd mod_python-3.3.1n./configure --apxs=/usr/bin/apxs2nsudo make installncd ..nwget http://www.initd.org/pub/software/psycopg/PSYCOPG-2-0/psycopg2-2.0.5.1.tar.gzntar xzf psycopg2-2.0.5.1.tar.gzncd psycopg2.2.0.5.1nsudo python setup.py installnsudo /etc/init.d/apache2 restart

I spent a good deal of today trying to find these answers. So, you’re welcome 🙂