replace commit_on_success() with atomic() for Django 1.6+