[Django] #34475: bug in django tutorial

1 view
Skip to first unread message

Django

unread,
Apr 8, 2023, 7:57:33 AM4/8/23
to django-...@googlegroups.com
#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.

Django

unread,
Apr 8, 2023, 8:00:28 AM4/8/23
to django-...@googlegroups.com
#34475: bug in django tutorial
-------------------------------+--------------------------------------

Reporter: LouisKimDev | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 4.1
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by LouisKimDev):

* version: 4.2 => 4.1


--
Ticket URL: <https://code.djangoproject.com/ticket/34475#comment:1>

Django

unread,
Apr 8, 2023, 8:19:19 AM4/8/23
to django-...@googlegroups.com
#34475: bug in django tutorial
-------------------------------+--------------------------------------
Reporter: DoyunKim | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 4.1
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Tim Graham):

* 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>

Reply all
Reply to author
Forward
0 new messages