  all about the internals of models in order to get the information it needs.
  """
  import copy
  import warnings
  from collections import Iterator, Mapping, OrderedDict
  from itertools import chain, count, product
  from string import ascii_uppercase
  
  from django.core.exceptions import FieldDoesNotExist, FieldError
  from django.db import DEFAULT_DB_ALIAS, connections
 
</s> remove         self.outer_votes = {}
        self.inner_votes = {}
 </s> add         self.votes = Counter() </s> remove         for table, votes in self.inner_votes.items():
 </s> add         for table, votes in self.votes.items(): </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     def add_votes(self, inner_votes):
 </s> add     def add_votes(self, votes): </s> remove         for voted in inner_votes:
            self.inner_votes[voted] = self.inner_votes.get(voted, 0) + 1
 </s> add         self.votes.update(votes)
from collections import Counter, Iterator, Mapping, OrderedDict
  all about the internals of models in order to get the information it needs.
  """
  import copy
  import warnings
from collections import Counter, Iterator, Mapping, OrderedDict
  from itertools import chain, count, product
  from string import ascii_uppercase
  
  from django.core.exceptions import FieldDoesNotExist, FieldError
  from django.db import DEFAULT_DB_ALIAS, connections
keep keep keep keep replace keep keep keep keep keep
 Removed the unused JoinPromoter.outer_votes attribute. 
django/db/models/sql/query.py