From a3bd8672d87466649e5f5b0fa27634d1800a29a7 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 31 Dec 2016 14:11:52 -0500 Subject: [PATCH] Refs #24154 -- Removed deprecated BaseDatabaseOperations.check_aggregate_support(). --- django/db/backends/base/operations.py | 9 --------- docs/releases/2.0.txt | 3 +++ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/django/db/backends/base/operations.py b/django/db/backends/base/operations.py index efa1a0b457..f46ac955ba 100644 --- a/django/db/backends/base/operations.py +++ b/django/db/backends/base/operations.py @@ -1,6 +1,5 @@ import datetime import decimal -import warnings from importlib import import_module from django.conf import settings @@ -8,7 +7,6 @@ from django.core.exceptions import ImproperlyConfigured from django.db.backends import utils from django.utils import six, timezone from django.utils.dateparse import parse_duration -from django.utils.deprecation import RemovedInDjango20Warning from django.utils.encoding import force_text @@ -556,13 +554,6 @@ class BaseDatabaseOperations(object): value = parse_duration(value) return value - def check_aggregate_support(self, aggregate_func): - warnings.warn( - "check_aggregate_support has been deprecated. Use " - "check_expression_support instead.", - RemovedInDjango20Warning, stacklevel=2) - return self.check_expression_support(aggregate_func) - def check_expression_support(self, expression): """ Check that the backend supports the provided expression. diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index ebd8089015..462e86ad3f 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -236,3 +236,6 @@ these features. * The ``weak`` argument to ``django.dispatch.signals.Signal.disconnect()`` is removed. + +* ``django.db.backends.base.BaseDatabaseOperations.check_aggregate_support()`` + is removed.