diff --git a/nosedjangotests/polls/tests/transaction_tester.py b/nosedjangotests/polls/tests/transaction_tester.py
index <HASH>..<HASH> 100644
--- a/nosedjangotests/polls/tests/transaction_tester.py
+++ b/nosedjangotests/polls/tests/transaction_tester.py
@@ -1,4 +1,7 @@
-from django.db.transaction import atomic
+try:
+    from django.db.transaction import atomic
+except ImportError:
+    from django.db.transaction import commit_on_success as atomic
 
 
 @atomic
refs #<I> dj<I> try except for atomic