End tuto03
This commit is contained in:
6
polls/templates/polls/detail.html
Normal file
6
polls/templates/polls/detail.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<h1>{{ question.question_txt }}</h1>
|
||||
<ul>
|
||||
{% for choice in question.choice_set.all %}
|
||||
<li>{{ choice.choice_txt }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user