          # inner and/or outer joins.
          self.outer_votes = {}
          self.inner_votes = {}
  
      def add_votes(self, inner_votes):
          """
          Add single vote per item to self.inner_votes. Parameter can be any
          iterable.
          """
          for voted in inner_votes:
 
</s> remove         self.outer_votes = {}
        self.inner_votes = {}
 </s> add         self.votes = Counter() </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         for voted in inner_votes:
            self.inner_votes[voted] = self.inner_votes.get(voted, 0) + 1
 </s> add         self.votes.update(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
    def add_votes(self, votes):
          # inner and/or outer joins.
          self.outer_votes = {}
          self.inner_votes = {}
  
    def add_votes(self, votes):
          """
          Add single vote per item to self.inner_votes. Parameter can be any
          iterable.
          """
          for voted in inner_votes:
keep keep keep keep replace keep keep keep keep keep
 Removed the unused JoinPromoter.outer_votes attribute. 
django/db/models/sql/query.py