mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[2.2.x] Fixed #30171 -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after8c775391b7. Backport of76990cbbdafrom master.
This commit is contained in:
@@ -286,6 +286,9 @@ backends.
|
||||
* ``_delete_fk_sql()`` (to pair with ``_create_fk_sql()``)
|
||||
* ``_create_check_sql()`` and ``_delete_check_sql()``
|
||||
|
||||
* The third argument of ``DatabaseWrapper.__init__()``,
|
||||
``allow_thread_sharing``, is removed.
|
||||
|
||||
Admin actions are no longer collected from base ``ModelAdmin`` classes
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user