mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #25382 -- Removed obsolete references to DateQuerySet.
This commit is contained in:
parent
fba8655e88
commit
e3720b990a
4 changed files with 17 additions and 23 deletions
|
@ -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, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue