Migrate to Django 1.6