  
      In the above, if ``athlete_list`` is not empty, the number of athletes will
      be displayed by the ``{{ athlete_list|count }}`` variable.
  
      As you can see, the ``if`` tag can take an option ``{% else %}`` clause that
      will be displayed if the test fails.
  
      ``if`` tags may use ``or``, ``and`` or ``not`` to test a number of
      variables or to negate a given variable::
  
          {% if not athlete_list %}
 
</s> remove     ``if`` tags do not allow ``and`` and ``or`` clauses with the same
    tag, because the order of logic would be ambigous. For example,
    this is invalid::
 </s> add     ``if`` tags do not allow ``and`` and ``or`` clauses with the same tag,
    because the order of logic would be ambigous. For example, this is
    invalid:: </s> remove     of the block are output:

    ::
 </s> add     of the block are output:: </s> remove     This is a way to define links that aren't tied to a particular URL configuration::
 </s> add     This is a way to define links that aren't tied to a particular URL
    configuration:: </s> remove     people was not sorted by gender, you'd need to make sure it is sorted before
    using it, i.e.::
 </s> add     people was not sorted by gender, you'd need to make sure it is sorted
    before using it, i.e.:: </s> remove     Only space between *tags* is normalized -- not space between tags and text. In
    this example, the space around ``Hello`` won't be stripped::
 </s> add     Only space between *tags* is normalized -- not space between tags and text.
    In this example, the space around ``Hello`` won't be stripped::
    As you can see, the ``if`` tag can take an option ``{% else %}`` clause
    that will be displayed if the test fails.
  
      In the above, if ``athlete_list`` is not empty, the number of athletes will
      be displayed by the ``{{ athlete_list|count }}`` variable.
  
    As you can see, the ``if`` tag can take an option ``{% else %}`` clause
    that will be displayed if the test fails.
    As you can see, the ``if`` tag can take an option ``{% else %}`` clause
    that will be displayed if the test fails.
  
      ``if`` tags may use ``or``, ``and`` or ``not`` to test a number of
      variables or to negate a given variable::
  
          {% if not athlete_list %}
keep keep keep keep replace replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaulttags.py