  )
  from django.db.models.sql.query import Query, get_order_dir
  from django.db.transaction import TransactionManagementError
  from django.utils.functional import cached_property
  from django.utils.hashable import make_hashable
  from django.utils.regex_helper import _lazy_re_compile
 
</s> remove from django.db.models.sql.where import OR
 </s> add from django.db.models.sql.where import AND, OR </s> remove from django.db.models.sql.where import NothingNode, WhereNode
 </s> add from django.db.models.sql.where import AND, OR, NothingNode, WhereNode </s> remove             if self.effective_connector == "OR" and votes < self.num_children:
 </s> add             if self.effective_connector == OR and votes < self.num_children: </s> remove             repr(JoinPromoter("AND", 3, True)),
 </s> add             repr(JoinPromoter(AND, 3, True)),
from django.db.models.sql.where import AND
  )
  from django.db.models.sql.query import Query, get_order_dir
from django.db.models.sql.where import AND
  from django.db.transaction import TransactionManagementError
  from django.utils.functional import cached_property
  from django.utils.hashable import make_hashable
  from django.utils.regex_helper import _lazy_re_compile
keep add keep keep keep keep
 Used AND, OR, XOR constants instead of hard-coded values. 
django/db/models/sql/compiler.py