diff --git a/django/utils/synch.py b/django/utils/synch.py index 1e6b546a784..6fcd81390e6 100644 --- a/django/utils/synch.py +++ b/django/utils/synch.py @@ -6,7 +6,10 @@ Synchronization primitives: (Contributed to Django by eugene@lazutkin.com) """ -import threading +try: + import threading +except ImportError: + import dummy_threading as threading class RWLock: """