[4.1.x] Fixed #34010 -- Made parallel tests using spawn set up Django.

Bug in 3b3f38b3b0.

Thanks Kevin Renskers for the report.

Backport of 4a910f3de3 from main
This commit is contained in:
Adam Johnson 2022-09-28 09:02:25 +01:00 committed by Mariusz Felisiak
parent 33d9247c8b
commit 5630a6ca29
2 changed files with 6 additions and 0 deletions

View file

@ -27,3 +27,7 @@ Bugfixes
* Fixed a bug in Django 4.1 that caused :attr:`.ModelAdmin.autocomplete_fields`
to be incorrectly selected after adding/changing related instances via popups
(:ticket:`34025`).
* Fixed a regression in Django 4.1 where the app registry was not populated
when running parallel tests with the ``multiprocessing`` start method
``spawn`` (:ticket:`34010`).