Loading django/db/transaction.py +4 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,10 @@ Managed transactions don't do those commits, but will need some kind of manual or implicit commits or rollbacks. """ try: import thread except ImportError: import dummy_thread as thread from django.db import connection from django.conf import settings Loading django/utils/_threading_local.py +4 −1 Original line number Diff line number Diff line Loading @@ -234,4 +234,7 @@ class local(_localbase): return __del__ __del__ = __del__() try: from threading import currentThread, enumerate, RLock except ImportError: from dummy_threading import currentThread, enumerate, RLock Loading
django/db/transaction.py +4 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,10 @@ Managed transactions don't do those commits, but will need some kind of manual or implicit commits or rollbacks. """ try: import thread except ImportError: import dummy_thread as thread from django.db import connection from django.conf import settings Loading
django/utils/_threading_local.py +4 −1 Original line number Diff line number Diff line Loading @@ -234,4 +234,7 @@ class local(_localbase): return __del__ __del__ = __del__() try: from threading import currentThread, enumerate, RLock except ImportError: from dummy_threading import currentThread, enumerate, RLock