diff --git a/django/db/backends/base/operations.py b/django/db/backends/base/operations.py index e7cf6243dc..0c9365ad19 100644 --- a/django/db/backends/base/operations.py +++ b/django/db/backends/base/operations.py @@ -75,7 +75,7 @@ class BaseDatabaseOperations(object): """ raise NotImplementedError('subclasses of BaseDatabaseOperations may require a date_extract_sql() method') - def date_interval_sql(self, sql, connector, timedelta): + def date_interval_sql(self, timedelta): """ Implements the date interval functionality for expressions """ diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 1e02832a6c..26b9a72d23 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -1013,6 +1013,9 @@ those writing third-party backends in updating their code: * The ``SQLCompiler.as_sql()`` method now takes a ``subquery`` parameter (:ticket:`24164`). +* The ``BaseDatabaseOperations.date_interval_sql()`` method now only takes a + ``timedelta`` parameter. + :mod:`django.contrib.admin` ~~~~~~~~~~~~~~~~~~~~~~~~~~~