diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-07-29 00:31:33 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-07-29 00:31:33 +0000 |
| commit | a369151091ffa854043f10e065304af30e823ff4 (patch) | |
| tree | 150a2658a73dfda9994ceec358f7005b5bf8f8cf /docs | |
| parent | 2cb629e05dbc5d1e9a19128470ed94a738fa9baa (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/templates.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/templates.txt b/docs/templates.txt index e925e43ee2..49d30018fe 100644 --- a/docs/templates.txt +++ b/docs/templates.txt @@ -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 ~~~~~~~~~ |
