Fixed a regression introduced in 59a655988ee95e4b4e4646cebea88b620d8fcdd2.
threading.local
DatabaseWrapper
django.db.connections