python
1<h1>{{ question.question_text }}</h1> 2 3<ul> 4{% for choice in question.choice_set.all %} 5 <li>{{ choice.choice_text }} -- {{ choice.votes }} vote{{ choice.votes|pluralize }}</li> 6{% endfor %} 7</ul> 8 9<a href="{% url 'polls:detail' question.id %}">Vote again?</a> 10
djangoのチュートリアルをやっているのですが、上記のhtmlにおいてfor文の埋め込みはできていますか
Atomで実行しているのですが、{% for}には<h1>や<a>のように色がついておらず自分では判断できません(下画像)
あなたの回答
tips
プレビュー