Fix for prefetch related (#1275)

* fix prefetch related merging same relations refering to the same children models

* change to List for p3.8

* adapt refactored prefetch query from abandoned composite_key branch and make sure new test passes

* remove unused code, add missing test for prefetch related with self reference models
This commit is contained in:
collerek
2024-03-24 00:00:51 +01:00
committed by GitHub
parent 1ed0d5a87f
commit 52d992d8c7
13 changed files with 875 additions and 831 deletions

View File

@ -128,6 +128,7 @@ pydantic-extra-types = "^2.5.0"
watchdog = "<4.0.0"
pytest-codspeed = "^2.2.0"
mike = "^2.0.0"
faker = "^24.3.0"
[build-system]
requires = ["poetry-core>=1.0.0"]