Migrate to django 1.5.x