Matthieu Girod
Results
2
comments of
Matthieu Girod
**TLDR** : Avoid using `prefetch_related` on `SortedManyToManyField`s until the problem is fixed. I ran into the same problem and came up with a potential fix. Replacing the `SortedRelatedManager.get_queryset()` implementation with...
Thank you @mokys, that seems indeed to be the source of the problem. The definitive solution for Django 5 would then be to implement `get_prefetch_querysets` in `SortedRelatedManager`. @clintonb @AlanCoding @relrod...