upgraded the application to work with python 2.7 and django 1.4.