mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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.