Port to Python 3.3 and Django 1.7.