From b78d100fa62cd4fbbc70f2bae77c192cb36c1ccd Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 22 Apr 2017 16:44:51 +0100 Subject: Fixed #27849 -- Added filtering support to aggregates. --- django/db/backends/base/features.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'django/db/backends/base') diff --git a/django/db/backends/base/features.py b/django/db/backends/base/features.py index 7626595741..22c2990e77 100644 --- a/django/db/backends/base/features.py +++ b/django/db/backends/base/features.py @@ -229,6 +229,10 @@ class BaseDatabaseFeatures: supports_select_difference = True supports_slicing_ordering_in_compound = False + # Does the database support SQL 2003 FILTER (WHERE ...) in aggregate + # expressions? + supports_aggregate_filter_clause = False + # Does the backend support indexing a TextField? supports_index_on_text_field = True -- cgit v1.3