code: def get_votes(self):
          
          candidate_elections = CandidateElection.objects.filter(election=self)
  
          votes = None
          for ce in candidate_elections:
              votes = votes | ce.votes.all()
  
          return votes
docs: Get all votes for this election.