Fix Missing results.html template file

This commit is contained in:
sosokker 2023-08-28 22:25:09 +07:00
parent 48670592e4
commit 59ae9b68b3

View File

@ -0,0 +1,9 @@
<h1>{{ question.question_text }}</h1>
<ul>
{% for choice in question.choice_set.all %}
<li>{{ choice.choice_text }} -- {{ choice.votes }} vote{{ choice.votes|pluralize }}</li>
{% endfor %}
</ul>
<a href="{% url 'polls:detail' question.id %}">Vote again?</a>