Skip to content

Conversation

@blaze33
Copy link
Contributor

@blaze33 blaze33 commented Mar 18, 2016

In Django 1.8 Query.aggregates is replaced by annotations.

Using aggregates currently raises a RemovedInDjango110Warning. See Django's source. This PR fixes it.

In Django 1.8 [`Query.aggregates` is replaced by `annotations`](https://docs.djangoproject.com/es/1.9/releases/1.8/#aggregate-methods-and-modules).

Using aggregates currently raises a `RemovedInDjango20Warning`. [Django's source](https://github.com/django/django/blob/1.8/django/db/models/sql/query.py#L192)
@jpadilla jpadilla self-assigned this Mar 19, 2016
@jpadilla
Copy link
Contributor

@blaze33 good stuff, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants