<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>
}}}
{{{
{{ choice.choice_text }} -- {{ choice.votes }}
}}}
this code should be changed to below
{{{
{{ choice.choice_text }} - {{ choice.votes }}
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34475>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* version: 4.2 => 4.1
--
Ticket URL: <https://code.djangoproject.com/ticket/34475#comment:1>
* status: new => closed
* resolution: => invalid
Comment:
I'm not aware of any reason why using a double dash there is
inappropriate.
--
Ticket URL: <https://code.djangoproject.com/ticket/34475#comment:2>