mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed signature of BaseDatabaseOperations.date_interval_sql()
Backport of 7fa7dd48c4 from master
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user