Fixed #11046: fixed a use of the deprecated cycle tag syntax in the template documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7215ffe8a4
commit
66ff7db385
|
@ -365,7 +365,7 @@ will be displayed if the value has not changed::
|
|||
{% for match in matches %}
|
||||
<div style="background-color:
|
||||
{% ifchanged match.ballot_id %}
|
||||
{% cycle red,blue %}
|
||||
{% cycle "red" "blue" %}
|
||||
{% else %}
|
||||
grey
|
||||
{% endifchanged %}
|
||||
|
|
Loading…
Reference in New Issue