Opened 20 months ago
Closed 20 months ago
#34475 closed Bug (invalid)
bug in django tutorial
Reported by: | DoyunKim | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 4.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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 }}
Change History (2)
comment:1 by , 20 months ago
Version: | 4.2 → 4.1 |
---|
comment:2 by , 20 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I'm not aware of any reason why using a double dash there is inappropriate.