Fix djapian to use transaction.atomic rather than the deprecated commit_on_success (which breaks if the call is already in an atomic block, i.e. pretty much all the time in Django 1.6) - as per https://docs.djangoproject.com/en/1.6/topics/db/transactions/#managing-transactions