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:
committed by
Tim Graham
parent
d32edd8c99
commit
f328ebdede
@@ -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, [
|
||||
|
||||
Reference in New Issue
Block a user