mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #10414 -- Made select_related() fail on invalid field names.
This commit is contained in:
committed by
Tim Graham
parent
b27db97b23
commit
3daa9d60be
@@ -181,7 +181,7 @@ class NonAggregateAnnotationTestCase(TestCase):
|
||||
other_chain=F('chain'),
|
||||
is_open=Value(True, BooleanField()),
|
||||
book_isbn=F('books__isbn')
|
||||
).select_related('store').order_by('book_isbn').filter(chain='Westfield')
|
||||
).order_by('book_isbn').filter(chain='Westfield')
|
||||
|
||||
self.assertQuerysetEqual(
|
||||
qs, [
|
||||
|
||||
Reference in New Issue
Block a user