Ticket #5773: patch_5773.diff

File patch_5773.diff, 528 bytes (added by durdinator, 17 years ago)
  • django/template/defaulttags.py

     
    675675        {% if athlete_list and coach_list or cheerleader_list %}
    676676
    677677    If you need to combine ``and`` and ``or`` to do advanced logic, just use
    678     nested if tags. For example:
     678    nested if tags. For example::
    679679
    680680        {% if athlete_list %}
    681681            {% if coach_list or cheerleader_list %}
Back to Top