#34475: bug in django tutorial
-----------------------------------------+------------------------
Reporter: LouisKimDev | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
there is a bug in html source at django tutorial
https://docs.djangoproject.com/ko/4.1/intro/tutorial04/
at this example
{{{
<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>
}}}
{{{
{{ 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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018760ba87de-262e407a-562f-4865-ab32-895899a70596-000000%40eu-central-1.amazonses.com.