Anonymous committed 9bf9670

Fixed #2330 -- Added hack to stop KeyErrors from being thrown by the autoreloading development server if USE_I18N=False

  • Participants
  • Parent commits b75a251

Comments (0)

Files changed (1)

File django/utils/

 except ImportError:
     import dummy_thread as thread
+# This import does nothing, but it's necessary to avoid some race conditions
+# in the threading module. See .
+    import threading
+except ImportError:
+    pass
 def reloader_thread():