'Re-enable transaction methods, and roll back any changes.
Rollback clears any DB changes made by the test so the original fixture
data is again visible.'

def _post_teardown(self):

    test.testcases.restore_transaction_methods()
    for db in self._databases():
        transaction.rollback(using=db)
    self._urlconf_teardown()
