Fixed to be able to run it with python2.7.4 and Django 1.5.1