Added note to docs/templates.txt about same logical operator
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2cb629e05d
commit
a369151091
|
@ -498,6 +498,11 @@ If you need to combine ``and`` and ``or`` to do advanced logic, just use nested
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
Multiple uses of the same logical operator are fine, as long as you use the
|
||||
same operator. For example, this is valid::
|
||||
|
||||
{% if athlete_list or coach_list or parent_list or teacher_list %}
|
||||
|
||||
ifchanged
|
||||
~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Reference in New Issue