def vote(request, abbr, vote_id):
vote = db.votes.find_one(vote_id)<EOL>if vote is None:<EOL><INDENT>raise Http404('<STR_LIT>'.format(vote_id))<EOL><DEDENT>bill = vote.bill()<EOL>return render(request, templatename('<STR_LIT>'),<EOL>dict(abbr=abbr, metadata=Metadata.get_object(abbr),<EOL>bill=bill,<EOL>vote=vote,<EOL>nav_active='<STR_LIT>'))<EOL>
Context:
    - abbr
    - metadata
    - bill
    - vote
    - nav_active

Templates:
    - vote.html