sandbox/django/mysite/polls/templates/polls/detail.html

6 lines
151 B
HTML

<h1>{{ question.question_text }}</h1>
<ul>
{% for choice in question.choice_set.all %}
<li>{{ choice.choice_text }}</li>
{% endfor %}
</ul>