1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

[1.8.x] Fixed #25382 -- Removed obsolete references to DateQuerySet.

Backport of e3720b990a from master
This commit is contained in:
Renato Oliveira
2015-09-11 10:14:35 -05:00
committed by Tim Graham
parent d32edd8c99
commit f328ebdede
4 changed files with 17 additions and 23 deletions

View File

@@ -568,7 +568,7 @@ class AggregationTests(TestCase):
lambda b: b.name
)
# Regression for #10248 - Annotations work with DateQuerySets
# Regression for #10248 - Annotations work with dates()
qs = Book.objects.annotate(num_authors=Count('authors')).filter(num_authors=2).dates('pubdate', 'day')
self.assertQuerysetEqual(
qs, [