From 8fb0be3500cc7519a56985b1b6f415d75ac6fedb Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Sat, 23 Dec 2023 23:05:05 +0100 Subject: Fixed #33277 -- Disallowed database connections in threads in SimpleTestCase. --- docs/releases/5.1.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index f949b31ad2..544b1f5d08 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -250,6 +250,9 @@ Tests * The new :meth:`.SimpleTestCase.assertNotInHTML` assertion allows testing that an HTML fragment is not contained in the given HTML haystack. +* In order to enforce test isolation, database connections inside threads are + no longer allowed in :class:`~django.test.SimpleTestCase`. + URLs ~~~~ -- cgit v1.3