mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #14334 -- Query relation lookups now check object types.
Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao for reviews.
This commit is contained in:
committed by
Tim Graham
parent
81edf2d006
commit
34ba86706f
@@ -100,7 +100,6 @@ class OneToOneTests(TestCase):
|
||||
assert_filter_waiters(restaurant__place__exact=self.p1)
|
||||
assert_filter_waiters(restaurant__place__pk=self.p1.pk)
|
||||
assert_filter_waiters(restaurant__exact=self.p1.pk)
|
||||
assert_filter_waiters(restaurant__exact=self.p1)
|
||||
assert_filter_waiters(restaurant__pk=self.p1.pk)
|
||||
assert_filter_waiters(restaurant=self.p1.pk)
|
||||
assert_filter_waiters(restaurant=self.r)
|
||||
|
||||
Reference in New Issue
Block a user