Ticket #7417: admindoc.diff
File admindoc.diff, 614 bytes (added by , 16 years ago) |
---|
-
djangopatch/django/template/defaulttags.py
683 683 """ 684 684 The ``{% if %}`` tag evaluates a variable, and if that variable is "true" 685 685 (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: 687 687 688 :: 689 688 690 {% if athlete_list %} 689 691 Number of athletes: {{ athlete_list|count }} 690 692 {% else %}