diff options
Diffstat (limited to 'tests/aggregation_regress')
-rw-r--r-- | tests/aggregation_regress/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/aggregation_regress/tests.py b/tests/aggregation_regress/tests.py index 793775c41b..0674d997ad 100644 --- a/tests/aggregation_regress/tests.py +++ b/tests/aggregation_regress/tests.py @@ -1113,9 +1113,9 @@ class AggregationTests(TestCase): in group by. """ qs = Book.objects.annotate( - acount=Count('authors') + account=Count('authors') ).filter( - acount=F('publisher__num_awards') + account=F('publisher__num_awards') ) self.assertQuerysetEqual( qs, ['Sams Teach Yourself Django in 24 Hours'], |