mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
Fixed signature of BaseDatabaseOperations.date_interval_sql() and document the change.
This commit is contained in:
parent
556a74879f
commit
7fa7dd48c4
2 changed files with 4 additions and 1 deletions
|
@ -76,7 +76,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
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue