Changes to allow Python 3 and Django 1.6 installation.