[Answer]-Why do methods in Django's built-in ModelBackend return an empty set when an obj is passed in?

1👍

The unit test for that code indicates that this was added to satisfy ticket 12462. As to whether this is correct, it is not clear what the code calling these functions this way would have been expecting. But since you know how it works, you can plan accordingly.

👤dylrei

Leave a comment