Migrating to django 1.4.3