[1.0.X] Fixed #11046: fixed a use of the deprecated cycle tag syntax in the template documentation. Backport of [10768] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
86c278f2a5
commit
bcda65e991
|
@ -336,7 +336,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