code: def vote(request, abbr, vote_id):
      '''
      Context:
          - abbr
          - metadata
          - bill
          - vote
          - nav_active
  
      Templates:
          - vote.html
      '''
      vote = db.votes.find_one(vote_id)
      if vote is None:
          raise Http404('no such vote: {0}'.format(vote_id))
      bill = vote.bill()
  
      return render(request, templatename('vote'),
                    dict(abbr=abbr, metadata=Metadata.get_object(abbr),
                         bill=bill,
                         vote=vote,
                         nav_active='bills')f vote(request, abbr, vote_id):
      '''
      Context:
          - abbr
          - metadata
          - bill
          - vote
          - nav_active
  
      Templates:
          - vote.html
      '''
      vote = db.votes.find_one(vote_id)
      if vote is None:
          raise Http404('no such vote: {0}'.format(vote_id))
      bill = vote.bill()
  
      return render(request, templatename('vote'),
                    dict(abbr=abbr, metadata=Metadata.get_object(abbr),
                         bill=bill,
                         vote=vote,
                         nav_active='bills'))
docs: Context:
          - abbr
          - metadata
          - bill
          - vote
          - nav_active
  
      Templates:
          - vote.html