          """
          Add single vote per item to self.inner_votes. Parameter can be any
          iterable.
          """
          for voted in inner_votes:
              self.inner_votes[voted] = self.inner_votes.get(voted, 0) + 1
  
      def update_join_types(self, query):
          """
          Change join types so that the generated query is as efficient as
          possible, but still correct. So, change as many joins as possible
 
</s> remove         Add single vote per item to self.inner_votes. Parameter can be any
 </s> add         Add single vote per item to self.votes. Parameter can be any </s> remove         self.outer_votes = {}
        self.inner_votes = {}
 </s> add         self.votes = Counter() </s> remove     def add_votes(self, inner_votes):
 </s> add     def add_votes(self, votes): </s> remove         for table, votes in self.inner_votes.items():
 </s> add         for table, votes in self.votes.items(): </s> remove from collections import Iterator, Mapping, OrderedDict
 </s> add from collections import Counter, Iterator, Mapping, OrderedDict
        self.votes.update(votes)
          """
          Add single vote per item to self.inner_votes. Parameter can be any
          iterable.
          """
        self.votes.update(votes)
        self.votes.update(votes)
  
      def update_join_types(self, query):
          """
          Change join types so that the generated query is as efficient as
          possible, but still correct. So, change as many joins as possible
keep keep keep keep replace replace keep keep keep keep keep
 Removed the unused JoinPromoter.outer_votes attribute. 
django/db/models/sql/query.py