mirror of https://github.com/django/django.git
Fixed #20606 -- Fixed 'for' example in template tag docs
Thanks batisteo for the report.
This commit is contained in:
parent
beb652e069
commit
bf9975b0eb
|
@ -371,7 +371,7 @@ displayed if the given array is empty or could not be found::
|
||||||
{% for athlete in athlete_list %}
|
{% for athlete in athlete_list %}
|
||||||
<li>{{ athlete.name }}</li>
|
<li>{{ athlete.name }}</li>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<li>Sorry, no athlete in this list!</li>
|
<li>Sorry, no athletes in this list.</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue