Use new transaction API with django 1.6