django/django — pull request #3154 by gabejackson (2014-09-03 09:39:24+00:00)
Title: Fixed #23396 -- Ensured ValueQuerySets are not checked by check_related_objects

Renamed method for checking compatibility

Renamed method from check_query_object_type to is_compatible_query_object_type
to avoid conflict with Query.check_query_object_type. The notation is
more appropriate given the nature of the method returning a Boolean.

Added is_compatible_query_object_type to basic.tests.ManagerTest.QUERYSET_PROXY_METHODS

Ensured QuerySet.is_compatible_query_object_type isn't copied to Manager

Removed ticket reference, refactored logic in QuerySet.is_compatible_query_object_type

Removed intermediate variable from test

Added ticket reference in test comment

Fixed Test