summaryrefslogtreecommitdiff
path: root/tests/custom_lookups
diff options
context:
space:
mode:
authorpriyanshsaxena <askpriyansh@gmail.com>2018-02-08 12:39:00 +0530
committerTim Graham <timograham@gmail.com>2018-08-23 11:52:09 -0400
commit83b04d4f88dd65ae630a45385de34e275899dc41 (patch)
tree50b1ec204e8ee30da63d9f2dcc8208e282c3b723 /tests/custom_lookups
parent08f360355a0f47b35df355aae6ba88957b0e3a8d (diff)
Fixed #29048 -- Added **extra_context to database function as_vendor() methods.
Diffstat (limited to 'tests/custom_lookups')
-rw-r--r--tests/custom_lookups/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom_lookups/tests.py b/tests/custom_lookups/tests.py
index 4bf85339ed..8c82b710c6 100644
--- a/tests/custom_lookups/tests.py
+++ b/tests/custom_lookups/tests.py
@@ -34,7 +34,7 @@ class Div3Transform(models.Transform):
lhs, lhs_params = compiler.compile(self.lhs)
return '(%s) %%%% 3' % lhs, lhs_params
- def as_oracle(self, compiler, connection):
+ def as_oracle(self, compiler, connection, **extra_context):
lhs, lhs_params = compiler.compile(self.lhs)
return 'mod(%s, 3)' % lhs, lhs_params