mirror of
https://github.com/django/django.git
synced 2025-01-18 14:24:39 +00:00
76990cbbda
Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b.