migrating from django 1.4 to 1.5.5