Kaydet (Commit) 66ff7db3 authored tarafından Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss

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
üst 7215ffe8
...@@ -365,7 +365,7 @@ will be displayed if the value has not changed:: ...@@ -365,7 +365,7 @@ will be displayed if the value has not changed::
{% for match in matches %} {% for match in matches %}
<div style="background-color: <div style="background-color:
{% ifchanged match.ballot_id %} {% ifchanged match.ballot_id %}
{% cycle red,blue %} {% cycle "red" "blue" %}
{% else %} {% else %}
grey grey
{% endifchanged %} {% endifchanged %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment