This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Doesn`t work in django 1.8 #17
Comments
It won't work with 1.8+. Django 1.8 already has support for complex aggregate. |
When my company updated to Django 1.8, we decided that we liked the aggregate-if api and didn't want to change everywhere we were using it. So we created a file with the following:
The Case and When objects introduced in Django 1.8 are very powerful and let you do even more than the aggregate-if package supports, but for the 95% of cases when we don't need the additional power, I find the only=Q API much more clear and easy to use. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: