Replaced deprecated commit_on_success for Django 1.8