Ticket #7417: admindoc.diff

File admindoc.diff, 614 bytes (added by robvdl, 7 years ago)

Patch recreated in .diff format against SVN 7730

  • djangopatch/django/template/defaulttags.py

     
    683683    """
    684684    The ``{% if %}`` tag evaluates a variable, and if that variable is "true"
    685685    (i.e. exists, is not empty, and is not a false boolean value) the contents
    686     of the block are output::
     686    of the block are output:
    687687
     688    ::
     689
    688690        {% if athlete_list %}
    689691            Number of athletes: {{ athlete_list|count }}
    690692        {% else %}
Back to Top