mirror of https://github.com/django/django.git
Fixed #6993 -- Fixed a grammar error in docs/templates.txt. Thanks, Ionut Ciocirlan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
1b92483ae5
commit
fbeec87b62
|
@ -819,7 +819,7 @@ The 'ifchanged' block tag is used within a loop. It has two possible uses.
|
||||||
|
|
||||||
2. If given a variable, check whether that variable has changed. For
|
2. If given a variable, check whether that variable has changed. For
|
||||||
example, the following shows the date every time it changes, but
|
example, the following shows the date every time it changes, but
|
||||||
only shows the hour if both the hour and the date has changed::
|
only shows the hour if both the hour and the date have changed::
|
||||||
|
|
||||||
{% for date in days %}
|
{% for date in days %}
|
||||||
{% ifchanged date.date %} {{ date.date }} {% endifchanged %}
|
{% ifchanged date.date %} {{ date.date }} {% endifchanged %}
|
||||||
|
|
Loading…
Reference in New Issue