Fixed #25382 -- Removed obsolete references to DateQuerySet.

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

View file

@ -670,7 +670,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, [