Removed django transaction layer, changed exception