{% extends "polls/base.html" %} {% block content1 %} {% if question %}

{{question.question_text}}

The result of the poll is:

{% for choice in question.choice_set.all %}

{{ choice.choice_text }}: {{ choice.votes }}

{% endfor %} {% endif %} {% endblock content1 %}