switch to django 1.6 style atomic transactions