diff options
| author | Niclas Olofsson <n@niclasolofsson.se> | 2014-12-04 21:47:48 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-24 14:54:30 -0500 |
| commit | 3daa9d60be6672841ceed5bb812b6fb25950dc16 (patch) | |
| tree | 1771ecd7ab15fd5795bb605c9d7e710ed0b86935 /tests/annotations/tests.py | |
| parent | b27db97b236569d059fa824c3078e06adf8b4fae (diff) | |
Fixed #10414 -- Made select_related() fail on invalid field names.
Diffstat (limited to 'tests/annotations/tests.py')
| -rw-r--r-- | tests/annotations/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py index 8a4bffcb6e..a2a1c8f852 100644 --- a/tests/annotations/tests.py +++ b/tests/annotations/tests.py @@ -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, [ |
