Ticket #18726: 18726.diff
File 18726.diff, 512 bytes (added by , 7 years ago) |
---|
-
tests/queries/tests.py
diff --git a/tests/queries/tests.py b/tests/queries/tests.py index 668b07361a..79b2f0580a 100644
a b class Queries1Tests(TestCase): 1172 1172 with self.assertRaisesMessage(FieldError, msg): 1173 1173 Tag.objects.filter(unknown_field__name='generic') 1174 1174 1175 def test_exclude_with_cyclic_fk_relation(self): 1176 ObjectB.objects.exclude(objecta__objectb__name=F('name')).count() 1177 1175 1178 1176 1179 class Queries2Tests(TestCase): 1177 1180 @classmethod