mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after8c775391b7. Backport of76990cbbdafrom master.