mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #29048 -- Added **extra_context to database function as_vendor() methods.
This commit is contained in:
committed by
Tim Graham
parent
08f360355a
commit
83b04d4f88
@@ -275,7 +275,7 @@ We can change the behavior on a specific backend by creating a subclass of
|
||||
``NotEqual`` with an ``as_mysql`` method::
|
||||
|
||||
class MySQLNotEqual(NotEqual):
|
||||
def as_mysql(self, compiler, connection):
|
||||
def as_mysql(self, compiler, connection, **extra_context):
|
||||
lhs, lhs_params = self.process_lhs(compiler, connection)
|
||||
rhs, rhs_params = self.process_rhs(compiler, connection)
|
||||
params = lhs_params + rhs_params
|
||||
|
||||
Reference in New Issue
Block a user