Closed flaeppe closed 3 weeks ago
This allows us to remove some plugin code, as we now can fall back to the default related manager on the descriptor instead of having to implement the fallback behaviour manually.
Refs: https://github.com/typeddjango/django-stubs/pull/2214#discussion_r1632216834
Good point, we should patch ReverseManyToOneDescriptor with __class_getitem__
ReverseManyToOneDescriptor
__class_getitem__
This allows us to remove some plugin code, as we now can fall back to the default related manager on the descriptor instead of having to implement the fallback behaviour manually.
Related issues
Refs: https://github.com/typeddjango/django-stubs/pull/2214#discussion_r1632216834