django 1.6+ style transaction management