Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit a369151091ffa854043f10e065304af30e823ff4 1 parent 2cb629e
Adrian Holovaty authored July 29, 2006

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  docs/templates.txt
5  docs/templates.txt
@@ -498,6 +498,11 @@ If you need to combine ``and`` and ``or`` to do advanced logic, just use nested
498 498
         {% endif %}
499 499
     {% endif %}
500 500
 
  501
+Multiple uses of the same logical operator are fine, as long as you use the
  502
+same operator. For example, this is valid::
  503
+
  504
+    {% if athlete_list or coach_list or parent_list or teacher_list %}
  505
+
501 506
 ifchanged
502 507
 ~~~~~~~~~
503 508
 

0 notes on commit a369151

Please sign in to comment.
Something went wrong with that request. Please try again.