diff options
| author | David Wobrock <david.wobrock@gmail.com> | 2023-12-23 23:05:05 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-01-03 13:02:26 +0100 |
| commit | 8fb0be3500cc7519a56985b1b6f415d75ac6fedb (patch) | |
| tree | 718f67cf2b7a5b5c0a0b72e03f413423e63fc03a /docs | |
| parent | 45f778eded9dff59cfdd4dce8720daf87a08cfac (diff) | |
Fixed #33277 -- Disallowed database connections in threads in SimpleTestCase.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.1.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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 ~~~~ |
