Django on Ubuntu 7.10 (gutsy)

I slapped together a virtual machine to try out an instance of ReviewBoard. It’s been a little while since I fiddled with Ubuntu, so I grabbed the latest server release(7.10) and set it up. Then I settled in to get all the various python pieces I’d need for django… On a lark, I tried

apt-cache search django

… and sure enough, it came back with a hit.

I had a development environment set up in minutes with the following:

apt-get update
apt-get dist-upgrade
# dev environment
apt-get install python-django python-pysqlite2 
# running with MySQL
apt-get install python-mysqldb mysql-server-5.0 mysql-server python-egenix-mxdatetime

Nice!

3 thoughts on “Django on Ubuntu 7.10 (gutsy)

  1. FYI: That installs Django 0.96, the last stable release, which is rather old. It’s still being maintained with any security fixes by the Django team, but if you’re doing any sort of Django development at all, you should be using the current SVN trunk version. It’s just as stable as 0.96, and contains a lot of very nice new features.

    (Yes, I realize you’re just using Django to run a single app, and for that, the Ubuntu repo version is fine. This comment is mainly for anyone else who might be considering writing their own Django applications.

    Like

  2. Yeah, I noticed that pretty quickly. I don’t know where the next release is sitting with Django, but it certainly has been a while since 0.96. Both of the projects I’m fiddling with (ReviewBoard and another) want the trunk… so I removed the package and put in Django from source.

    Like

  3. Greatest instructions I’ve seen on Django. I tried several other sites that had voluminous instructions and then I tried your instructions and in like 2 minutes the whole thing was up and running. thank you

    Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s