We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a3a57 commit 33392beCopy full SHA for 33392be
tests/lookup/tests.py
@@ -1112,6 +1112,10 @@ def test_lookup_collision(self):
1112
self.assertEqual(Game.objects.filter(season__gt__in=[222, 333]).count(), 5)
1113
self.assertEqual(Game.objects.filter(season__gt__gt=111).count(), 5)
1114
1115
+ def test_lookup_collision_distinct(self):
1116
+ # These were separated from the above test because distinct() isn't
1117
+ # supported.
1118
+
1119
# Players who played in 2009
1120
self.assertEqual(
1121
Player.objects.filter(games__season__year=2009).distinct().count(), 2
0 commit comments