Solved missing `invert` attribute bug

pull/8274/head
ACMCMC 2021-11-23 09:51:17 +01:00 zatwierdzone przez Matt Westcott
rodzic cf96285671
commit 663d7d0a12
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -11,6 +11,7 @@ from django.db.models.sql.compiler import SQLCompiler
class LexemeCombinable(Expression):
BITAND = '+'
BITOR = ''
invert = False # By default, it is not inverted
def _combine(self, other, connector, reversed, node=None):
if not isinstance(other, LexemeCombinable):