Branch: refs/heads/master Home: https://github.com/django/django Commit: bebbbb7af096ecffc0d7585617fdfacb196bc7c2 https://github.com/django/django/commit/bebbbb7af096ecffc0d7585617fdfacb196bc7c2 Author: Nuno Maltez <n...@cognitiva.com> Date: 2012-07-16 (Mon, 16 Jul 2012)
Changed paths: M django/db/models/sql/subqueries.py M tests/modeltests/aggregation/tests.py Log Message: ----------- Fixed #18056 - Cleared aggregations on DateQuery.add_date_select Cleared aggregations on add_date_select method so only distinct dates are returned when dealing with a QuerySet that contained aggregations. That would cause the query set to return repeated dates because it would look for distinct (date kind, aggregation) pairs. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.